cosmetics after last commit

Originally committed as revision 8705 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Ivo van Poorten 18 years ago
parent 201df5a19f
commit 6db140ddb4
  1. 2
      libavcodec/pnm.c

@ -218,7 +218,7 @@ static int pnm_decode_frame(AVCodecContext *avctx,
return -1;
for(i = 0; i < avctx->height; i++) {
if (!upgrade)
memcpy(ptr, s->bytestream, n);
memcpy(ptr, s->bytestream, n);
else if (upgrade == 1) {
unsigned int j, f = (255*128 + s->maxval/2) / s->maxval;
for (j=0; j<n; j++)

Loading…
Cancel
Save