aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-01-20 19:50:33 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-01-20 19:59:28 +0100
commitfc86f88b32a288b252a088ee3c77b4f6219d54d5 (patch)
tree4cd43f95f9d4264b67df2513071b6f78179754fa
parentbc15fcb8cfa87ef91e2b00ab5951c5b6dc78e72b (diff)
downloadffmpeg-fc86f88b32a288b252a088ee3c77b4f6219d54d5.tar.gz
h264: fix use of uninitialized variable
Fixed CID968588 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavcodec/h264_refs.c4
1 files 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;
}