# HG changeset patch # User michael # Date 1244057091 0 # Node ID 3fbd5452cbd1e7a4206645706b3e0d974f562986 # Parent 391014285c25c267b7312a4f655735afaa7589ee Fix sei_ct_type check so it does not mistreat ct_type= unknown. diff -r 391014285c25 -r 3fbd5452cbd1 h264.c --- a/h264.c Wed Jun 03 19:23:34 2009 +0000 +++ b/h264.c Wed Jun 03 19:24:51 2009 +0000 @@ -7793,7 +7793,7 @@ /* 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;