mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-06-19 19:03:00 +02:00
Fix sei_ct_type check so it does not mistreat ct_type= unknown.
Originally committed as revision 19082 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
1 parent
4d95ae1882
commit
f4ebb334be
1 file changed
+1
-1
+1
-1
@@ -7793,7 +7793,7 @@ static int decode_frame(AVCodecContext *avctx,
|
||||
|
||||
/* Signal interlacing information externally. */
|
||||
/* Prioritize picture timing SEI information over used decoding process if it exists. */
|
||||
if (h->sei_ct_type)
|
||||
if (h->sei_ct_type & 3)
|
||||
cur->interlaced_frame = (h->sei_ct_type & (1<<1)) != 0;
|
||||
else
|
||||
cur->interlaced_frame = FIELD_OR_MBAFF_PICTURE;
|
||||
|
||||
Reference in new issue
Block a user