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-21 23:19:49 +0100
commit7ca4b918989c614de0e2dce1df45929aba5ab29d (patch)
tree40fee28e872d84e783ad61b54ca5bdce6762c483
parent75aa373bec58dd65cca6006a04c89c03d935ec83 (diff)
downloadffmpeg-7ca4b918989c614de0e2dce1df45929aba5ab29d.tar.gz
h264: fix use of uninitialized variable
Fixed CID968588 Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit fc86f88b32a288b252a088ee3c77b4f6219d54d5) 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 d5b9633c0c..e5c008cdd8 100644
--- a/libavcodec/h264_refs.c
+++ b/libavcodec/h264_refs.c
@@ -772,8 +772,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;
}