Originally committed as revision 1239 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2002-11-19 23:04:07 +00:00
parent 0699d2fe44
commit deedfbdbca
1 changed files with 1 additions and 1 deletions

View File

@ -1915,7 +1915,7 @@ static int mpeg_decode_frame(AVCodecContext *avctx,
break; break;
default: default:
if (start_code >= SLICE_MIN_START_CODE && if (start_code >= SLICE_MIN_START_CODE &&
start_code <= SLICE_MAX_START_CODE && s2->hurry_up<5) { start_code <= SLICE_MAX_START_CODE && s2->avctx->hurry_up<5) {
ret = mpeg_decode_slice(avctx, picture, ret = mpeg_decode_slice(avctx, picture,
start_code, s->buffer, input_size); start_code, s->buffer, input_size);
if (ret == DECODE_SLICE_EOP) { if (ret == DECODE_SLICE_EOP) {