10l
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 19 Nov 2002 23:04:07 +0000 (23:04 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 19 Nov 2002 23:04:07 +0000 (23:04 +0000)
Originally committed as revision 1239 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/mpeg12.c

index 73c76e1..fd5ebf1 100644 (file)
@@ -1915,7 +1915,7 @@ static int mpeg_decode_frame(AVCodecContext *avctx,
                     break;
                 default:
                     if (start_code >= SLICE_MIN_START_CODE &&
                     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) {
                         ret = mpeg_decode_slice(avctx, picture,
                                                 start_code, s->buffer, input_size);
                         if (ret == DECODE_SLICE_EOP) {