Browse Source

indeo: Do not reference mismatched tiles

Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
tags/n2.1
Luca Barbato 12 years ago
parent
commit
f9e5261cab
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      libavcodec/ivi_common.c

+ 2
- 0
libavcodec/ivi_common.c View File

@@ -343,6 +343,8 @@ 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)
return AVERROR_INVALIDDATA;
tile->ref_mbs = ref_tile->mbs;
ref_tile++;
}


Loading…
Cancel
Save