Browse Source

fixed copy

Originally committed as revision 1535 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Fabrice Bellard 23 years ago
parent
commit
fe2a4ca379
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      libavformat/jpeg.c

+ 3
- 3
libavformat/jpeg.c View File

@@ -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…
Cancel
Save