mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-15 11:30:08 +01:00
h264/ff_generate_sliding_window_mmcos: fix use of uninitialized variable
Fixes CID968587 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -522,8 +522,8 @@ int ff_generate_sliding_window_mmcos(H264Context *h, int first_slice)
|
|||||||
(mmco_index != h->mmco_index ||
|
(mmco_index != h->mmco_index ||
|
||||||
(i = check_opcodes(h->mmco, mmco_temp, mmco_index)))) {
|
(i = check_opcodes(h->mmco, mmco_temp, mmco_index)))) {
|
||||||
av_log(h->s.avctx, AV_LOG_ERROR,
|
av_log(h->s.avctx, AV_LOG_ERROR,
|
||||||
"Inconsistent MMCO state between slices [%d, %d, %d]\n",
|
"Inconsistent MMCO state between slices [%d, %d]\n",
|
||||||
mmco_index, h->mmco_index, i);
|
mmco_index, h->mmco_index);
|
||||||
return AVERROR_INVALIDDATA;
|
return AVERROR_INVALIDDATA;
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user