Commit 6c570f6b authored by bellard's avatar bellard

fixed copy


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@1535 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent cf144ffe
...@@ -125,11 +125,11 @@ static int jpeg_read(ByteIOContext *f, ...@@ -125,11 +125,11 @@ static int jpeg_read(ByteIOContext *f,
switch(c->pix_fmt) { switch(c->pix_fmt) {
default: default:
case PIX_FMT_YUV420P: case PIX_FMT_YUV420P:
w >>= 1; w = (w + 1) >> 1;
h >>= 1; h = (h + 1) >> 1;
break; break;
case PIX_FMT_YUV422P: case PIX_FMT_YUV422P:
w >>= 1; w = (w + 1) >> 1;
break; break;
case PIX_FMT_YUV444P: case PIX_FMT_YUV444P:
break; break;
......
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