diff options
author | Janne Grunau <janne-libav@jannau.net> | 2012-09-05 20:25:48 +0200 |
---|---|---|
committer | Janne Grunau <janne-libav@jannau.net> | 2012-09-06 19:02:43 +0200 |
commit | 59383d574046616ede75e51eeb404c9eb8b56d40 (patch) | |
tree | aa33d0c703c14c8583a73b668644e86142530c3a /libavformat/metadata-example.c | |
parent | a224b2cb30759264147abda4aeb59de21966265c (diff) | |
download | ffmpeg-59383d574046616ede75e51eeb404c9eb8b56d40.tar.gz |
mpegvideo: set AVFrame fields to NULL after freeing the base memory
Prevents dangling pointers and makes access after free more obvious.
Setting AVFrame.qscale_table to NULL is required for successfully
allocating a previously freed Picture with ff_alloc_picture().
Diffstat (limited to 'libavformat/metadata-example.c')
0 files changed, 0 insertions, 0 deletions