mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
fix decoding of the first frame of gray.mov
Originally committed as revision 11169 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
cf653d0811
commit
b180d9fe99
@ -109,7 +109,7 @@ read_header:
|
||||
if (s->interlaced) {
|
||||
s->bottom_field ^= 1;
|
||||
/* if not bottom field, do not output image yet */
|
||||
if (s->bottom_field && second_field_offs)
|
||||
if (s->bottom_field != s->interlace_polarity && second_field_offs)
|
||||
{
|
||||
buf_ptr = buf + second_field_offs;
|
||||
second_field_offs = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user