Commit 6db140dd authored by Ivo van Poorten's avatar Ivo van Poorten

cosmetics after last commit

Originally committed as revision 8705 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 201df5a1
...@@ -218,7 +218,7 @@ static int pnm_decode_frame(AVCodecContext *avctx, ...@@ -218,7 +218,7 @@ static int pnm_decode_frame(AVCodecContext *avctx,
return -1; return -1;
for(i = 0; i < avctx->height; i++) { for(i = 0; i < avctx->height; i++) {
if (!upgrade) if (!upgrade)
memcpy(ptr, s->bytestream, n); memcpy(ptr, s->bytestream, n);
else if (upgrade == 1) { else if (upgrade == 1) {
unsigned int j, f = (255*128 + s->maxval/2) / s->maxval; unsigned int j, f = (255*128 + s->maxval/2) / s->maxval;
for (j=0; j<n; j++) for (j=0; j<n; j++)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment