Commit 393c23f8 authored by ivo's avatar ivo

cosmetics after last commit



git-svn-id: file:///var/local/repositories/ffmpeg/trunk@8705 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 3a35a2b2
...@@ -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