You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
Merge commit 'f9e5261cab067be7278f73d515bc9b601eb56202'
* commit 'f9e5261cab067be7278f73d515bc9b601eb56202':
indeo: Do not reference mismatched tiles
Conflicts:
libavcodec/ivi_common.c
See: dab70c62d2
Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -342,11 +342,11 @@ static int ivi_init_tiles(IVIBandDesc *band, IVITile *ref_tile,
|
||||
|
||||
tile->ref_mbs = 0;
|
||||
if (p || b) {
|
||||
if (tile->num_MBs <= ref_tile->num_MBs) {
|
||||
tile->ref_mbs = ref_tile->mbs;
|
||||
}else
|
||||
av_log(NULL, AV_LOG_DEBUG, "Cannot use ref_tile, too few mbs\n");
|
||||
|
||||
if (tile->num_MBs != ref_tile->num_MBs) {
|
||||
av_log(NULL, AV_LOG_DEBUG, "ref_tile mismatch\n");
|
||||
return AVERROR_INVALIDDATA;
|
||||
}
|
||||
tile->ref_mbs = ref_tile->mbs;
|
||||
ref_tile++;
|
||||
}
|
||||
tile++;
|
||||
|
Reference in New Issue
Block a user