Mercurial > libavcodec.hg
diff mlpdec.c @ 7575:d73cd240d68c libavcodec
mlp: Define End-of-Stream code in common header file and use it in decoder.
author | ramiro |
---|---|
date | Thu, 14 Aug 2008 19:38:39 +0000 |
parents | d112b4655bbd |
children | 82dbfe8d2e0b |
line wrap: on
line diff
--- a/mlpdec.c Thu Aug 14 16:07:17 2008 +0000 +++ b/mlpdec.c Thu Aug 14 19:38:39 2008 +0000 @@ -990,7 +990,7 @@ skip_bits(&gb, (-get_bits_count(&gb)) & 15); if (substream_data_len[substr] * 8 - get_bits_count(&gb) >= 32 && - (show_bits_long(&gb, 32) == 0xd234d234 || + (show_bits_long(&gb, 32) == END_OF_STREAM || show_bits_long(&gb, 20) == 0xd234e)) { skip_bits(&gb, 18); if (substr == m->max_decoded_substream)