do not check for minimum slice start code, 0x00000100 is valid
Originally committed as revision 17133 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user