oggdemux: fix dirac header parsing

Fixes #611900.
This commit is contained in:
David Schleef 2010-03-08 14:50:25 +00:00 committed by Tim-Philipp Müller
parent c43dec83af
commit 38e6f0c7ed

View file

@ -84,10 +84,7 @@ dirac_sequence_header_parse (DiracSequenceHeader * header,
/* scan header */ /* scan header */
bit = schro_unpack_decode_bit (unpack); bit = schro_unpack_decode_bit (unpack);
if (bit) { if (bit) {
header->interlaced = schro_unpack_decode_bit (unpack); header->interlaced = schro_unpack_decode_uint (unpack);
if (header->interlaced) {
header->top_field_first = schro_unpack_decode_bit (unpack);
}
} }
/* frame rate */ /* frame rate */