mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
indeo: Do not reference mismatched tiles
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
This commit is contained in:
parent
28dda8a691
commit
f9e5261cab
@ -343,6 +343,8 @@ static int ivi_init_tiles(IVIBandDesc *band, IVITile *ref_tile,
|
|||||||
|
|
||||||
tile->ref_mbs = 0;
|
tile->ref_mbs = 0;
|
||||||
if (p || b) {
|
if (p || b) {
|
||||||
|
if (tile->num_MBs != ref_tile->num_MBs)
|
||||||
|
return AVERROR_INVALIDDATA;
|
||||||
tile->ref_mbs = ref_tile->mbs;
|
tile->ref_mbs = ref_tile->mbs;
|
||||||
ref_tile++;
|
ref_tile++;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user