Commit d73a0291 authored by michael's avatar michael

Fix sei_ct_type check so it does not mistreat ct_type= unknown.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19082 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent cb016893
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment