Browse Source

cosmetics after last commit

Originally committed as revision 8705 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Ivo van Poorten 19 years ago
parent
commit
6db140ddb4
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/pnm.c

+ 1
- 1
libavcodec/pnm.c View File

@@ -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