Mercurial > libavcodec.hg
comparison h263dec.c @ 928:5627a7b7ce83 libavcodec
fixing playback of DaveMatthews_Crash_PocketPC.avi
author | michaelni |
---|---|
date | Wed, 11 Dec 2002 08:56:28 +0000 |
parents | 7fccaa0d699d |
children | 5bc072934017 |
comparison
equal
deleted
inserted
replaced
927:60241e4290e3 | 928:5627a7b7ce83 |
---|---|
248 /* try to detect the padding bug */ | 248 /* try to detect the padding bug */ |
249 if( s->codec_id==CODEC_ID_MPEG4 | 249 if( s->codec_id==CODEC_ID_MPEG4 |
250 && (s->workaround_bugs&FF_BUG_AUTODETECT) | 250 && (s->workaround_bugs&FF_BUG_AUTODETECT) |
251 && s->gb.size*8 - get_bits_count(&s->gb) >=0 | 251 && s->gb.size*8 - get_bits_count(&s->gb) >=0 |
252 && s->gb.size*8 - get_bits_count(&s->gb) < 48 | 252 && s->gb.size*8 - get_bits_count(&s->gb) < 48 |
253 && !s->resync_marker | 253 // && !s->resync_marker |
254 && !s->data_partitioning){ | 254 && !s->data_partitioning){ |
255 | 255 |
256 const int bits_count= get_bits_count(&s->gb); | 256 const int bits_count= get_bits_count(&s->gb); |
257 const int bits_left = s->gb.size*8 - bits_count; | 257 const int bits_left = s->gb.size*8 - bits_count; |
258 | 258 |