diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-01-20 20:02:35 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-01-20 20:02:57 +0100 |
commit | 3fba3e79a3e46d7611817f9051b33885eb1ff962 (patch) | |
tree | 23b44949b14a0d4ed955029038b36a0d41fd9f6f | |
parent | dcbe15813ed09cf491e75a21cce0e751f5bc2b34 (diff) | |
download | ffmpeg-3fba3e79a3e46d7611817f9051b33885eb1ff962.tar.gz |
h264/ff_generate_sliding_window_mmcos: fix use of uninitialized variable
Fixes CID968587
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavcodec/h264_refs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/h264_refs.c b/libavcodec/h264_refs.c index 68004f85b0..8df4c3a7f0 100644 --- a/libavcodec/h264_refs.c +++ b/libavcodec/h264_refs.c @@ -522,8 +522,8 @@ int ff_generate_sliding_window_mmcos(H264Context *h, int first_slice) (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; } return 0; |