mirror of
https://github.com/librempeg/librempeg
synced 2024-11-23 11:39:47 +00:00
fixed copy
Originally committed as revision 1535 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
0250738f13
commit
fe2a4ca379
@ -125,11 +125,11 @@ static int jpeg_read(ByteIOContext *f,
|
||||
switch(c->pix_fmt) {
|
||||
default:
|
||||
case PIX_FMT_YUV420P:
|
||||
w >>= 1;
|
||||
h >>= 1;
|
||||
w = (w + 1) >> 1;
|
||||
h = (h + 1) >> 1;
|
||||
break;
|
||||
case PIX_FMT_YUV422P:
|
||||
w >>= 1;
|
||||
w = (w + 1) >> 1;
|
||||
break;
|
||||
case PIX_FMT_YUV444P:
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user