comparison 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
comparison
equal deleted inserted replaced
8790:1045a26cb90d 8791:7798afcf0b24
676 break; 676 break;
677 case USER_START_CODE: 677 case USER_START_CODE:
678 //mpeg_decode_user_data(avctx,buf_ptr, input_size); 678 //mpeg_decode_user_data(avctx,buf_ptr, input_size);
679 break; 679 break;
680 default: 680 default:
681 if (stc >= SLICE_MIN_START_CODE && 681 if (stc <= SLICE_MAX_START_CODE) {
682 stc <= SLICE_MAX_START_CODE) {
683 init_get_bits(&s->gb, buf_ptr, input_size); 682 init_get_bits(&s->gb, buf_ptr, input_size);
684 decode_slice_header(h, &s->gb); 683 decode_slice_header(h, &s->gb);
685 } 684 }
686 break; 685 break;
687 } 686 }