From: Michael Niedermayer Date: Tue, 19 Nov 2002 23:04:07 +0000 (+0000) Subject: 10l X-Git-Tag: v0.5~17016 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=deedfbdbca5556ff4aced6ff5b81948542392a4c;p=coroid%2Flibav_saccubus.git 10l Originally committed as revision 1239 to svn://svn.ffmpeg.org/ffmpeg/trunk --- diff --git a/libavcodec/mpeg12.c b/libavcodec/mpeg12.c index 73c76e1c3..fd5ebf129 100644 --- a/libavcodec/mpeg12.c +++ b/libavcodec/mpeg12.c @@ -1915,7 +1915,7 @@ static int mpeg_decode_frame(AVCodecContext *avctx, break; default: 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, start_code, s->buffer, input_size); if (ret == DECODE_SLICE_EOP) {