From fc86f88b32a288b252a088ee3c77b4f6219d54d5 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 20 Jan 2013 19:50:33 +0100 Subject: [PATCH] h264: fix use of uninitialized variable Fixed CID968588 Signed-off-by: Michael Niedermayer --- libavcodec/h264_refs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/h264_refs.c b/libavcodec/h264_refs.c index d09f15cacd..812272cfa5 100644 --- a/libavcodec/h264_refs.c +++ b/libavcodec/h264_refs.c @@ -769,8 +769,8 @@ int ff_h264_decode_ref_pic_marking(H264Context *h, GetBitContext *gb, (mmco_index != h->mmco_index || (i = check_opcodes(h->mmco, mmco_temp, mmco_index)))) { av_log(h->s.avctx, AV_LOG_ERROR, - "Inconsistent MMCO state between slices [%d, %d, %d]\n", - mmco_index, h->mmco_index, i); + "Inconsistent MMCO state between slices [%d, %d]\n", + mmco_index, h->mmco_index); return AVERROR_INVALIDDATA; }