Commit fc86f88b authored by Michael Niedermayer's avatar Michael Niedermayer

h264: fix use of uninitialized variable

Fixed CID968588
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent bc15fcb8
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment