summaryrefslogtreecommitdiff
path: root/libavcodec/mpeg12.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2002-11-23 09:12:57 +0000
committerMichael Niedermayer <michaelni@gmx.at>2002-11-23 09:12:57 +0000
commitf8fd15e03f8a50062dc0b1e6e8e3189a82dc14fc (patch)
tree638f875869e78feafca53cbbba2e12775547a74f /libavcodec/mpeg12.c
parent47930f093e478dd600d0dd7bcfca0ab81e884ead (diff)
moving init of some variables (hurry_up,...) to MPV_frame_start()
Originally committed as revision 1271 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mpeg12.c')
-rw-r--r--libavcodec/mpeg12.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mpeg12.c b/libavcodec/mpeg12.c
index fd5ebf1297..db95438303 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->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) {