aboutsummaryrefslogtreecommitdiffstats
path: root/tests/ref/fate/filter-pixdesc-yuva444p12be
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-09-14 20:32:33 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-09-15 19:25:26 +0200
commite411a3af11e5d00a311f594a45c17f74898cb46e (patch)
treec1b7ab9f38ac38b9cd23437cf26b279ab4e6f5ac /tests/ref/fate/filter-pixdesc-yuva444p12be
parenta53f32cf49a0206f39e38a8fc7915010399ea047 (diff)
downloadffmpeg-e411a3af11e5d00a311f594a45c17f74898cb46e.tar.gz
avcodec/ivi: Fix segfault on allocation error
If allocating the tiles array for indeo 4/5 fails, the context is in an inconsistent state, because the counter for the number of tiles is > 0. This will lead to a segfault when freeing the tiles' substructures. Fix this by setting the number of tiles to zero if the allocation was unsuccessful. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'tests/ref/fate/filter-pixdesc-yuva444p12be')
0 files changed, 0 insertions, 0 deletions