OSDN Git Service

Fixed mpeg12 top field first flag value with field picture encoding.
authorLaurent Aimar <fenrir@videolan.org>
Fri, 20 Aug 2010 18:28:42 +0000 (18:28 +0000)
committerLaurent Aimar <fenrir@videolan.org>
Fri, 20 Aug 2010 18:28:42 +0000 (18:28 +0000)
commit8bdf11815cc53bee2ea3c16934a4a224d35121a0
tree589e7ccb34f4bea09fe072293d0faeade3829fca
parent26553088cc9f7421dde54279ee0c5fefde489ec1
Fixed mpeg12 top field first flag value with field picture encoding.

The relevent extract of the iso 13818-2 about the value of the syntaxical
element top_field_first of the Picture Coding Extension is:

"top_field_first -- The meaning of this element depends upon picture_structure,
progressive_sequence and repeat_first_field.
[...]
In a field picture top_field_first shall have the value '0', and the only field
output by the decoding process is the decoded field picture."

Originally committed as revision 24853 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/mpegvideo.c