aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/vc1_block.c
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2014-11-09 08:48:44 +0100
committerVittorio Giovara <vittorio.giovara@gmail.com>2014-11-11 11:49:54 +0100
commit2383323661f3b8342b2c4d356fcfe8c5d1b045f8 (patch)
tree62b793c7b2cc36a88992ef596a97231f81d42655 /libavcodec/vc1_block.c
parent1bdd21d97528d870fbb4388e837abaf390f2f7d7 (diff)
downloadffmpeg-2383323661f3b8342b2c4d356fcfe8c5d1b045f8.tar.gz
dvbsubdec: improve error checking
Use av_mallocz_array instead of iterating and check the returned memory. Check returned memory and cleanly exit in case of error during the loop. Avoid a null pointer dereference for invalid data. CC: libav-stable@libav.org Bug-Id: CID 29575
Diffstat (limited to 'libavcodec/vc1_block.c')
0 files changed, 0 insertions, 0 deletions