diff mpeg12.c @ 885:35d28522a1c5 libavcodec

moving init of some variables (hurry_up,...) to MPV_frame_start()
author michaelni
date Sat, 23 Nov 2002 09:12:57 +0000
parents 9d50cf6d6361
children 653d9419ea01
line wrap: on
line diff
--- a/mpeg12.c	Fri Nov 22 07:53:06 2002 +0000
+++ b/mpeg12.c	Sat Nov 23 09:12:57 2002 +0000
@@ -1915,7 +1915,7 @@
                     break;
                 default:
                     if (start_code >= SLICE_MIN_START_CODE &&
-                        start_code <= SLICE_MAX_START_CODE && s2->avctx->hurry_up<5) {
+                        start_code <= SLICE_MAX_START_CODE && avctx->hurry_up<5) {
                         ret = mpeg_decode_slice(avctx, picture,
                                                 start_code, s->buffer, input_size);
                         if (ret == DECODE_SLICE_EOP) {