diff options
author | Stefan Gehrer <stefan.gehrer@gmx.de> | 2009-02-10 16:34:45 +0000 |
---|---|---|
committer | Stefan Gehrer <stefan.gehrer@gmx.de> | 2009-02-10 16:34:45 +0000 |
commit | d934de5c5d9ff1d228d0113e31e182efe2a853aa (patch) | |
tree | 751cba974356863816fb07bfacd2f43e77553c3d /libavcodec/cavsdec.c | |
parent | 9fc88d7e2025e5df0bced8a175978408a1d9eb9a (diff) | |
download | ffmpeg-d934de5c5d9ff1d228d0113e31e182efe2a853aa.tar.gz |
do not check for minimum slice start code, 0x00000100 is valid
Originally committed as revision 17133 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/cavsdec.c')
-rw-r--r-- | libavcodec/cavsdec.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/cavsdec.c b/libavcodec/cavsdec.c index 4092f88f2a..dbbe2d9e09 100644 --- a/libavcodec/cavsdec.c +++ b/libavcodec/cavsdec.c @@ -678,8 +678,7 @@ static int cavs_decode_frame(AVCodecContext * avctx,void *data, int *data_size, //mpeg_decode_user_data(avctx,buf_ptr, input_size); break; default: - if (stc >= SLICE_MIN_START_CODE && - stc <= SLICE_MAX_START_CODE) { + if (stc <= SLICE_MAX_START_CODE) { init_get_bits(&s->gb, buf_ptr, input_size); decode_slice_header(h, &s->gb); } |