diff cavsdec.c @ 8791:7798afcf0b24 libavcodec

do not check for minimum slice start code, 0x00000100 is valid
author stefang
date Tue, 10 Feb 2009 16:34:45 +0000
parents e9d9d946f213
children b149d445bf4c
line wrap: on
line diff
--- a/cavsdec.c	Tue Feb 10 14:27:16 2009 +0000
+++ b/cavsdec.c	Tue Feb 10 16:34:45 2009 +0000
@@ -678,8 +678,7 @@
             //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);
             }