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;