summaryrefslogtreecommitdiff
path: root/libavcodec/mss2.c
diff options
context:
space:
mode:
authorJanne Grunau <janne-libav@jannau.net>2012-09-05 20:25:48 +0200
committerJanne Grunau <janne-libav@jannau.net>2012-09-06 19:02:43 +0200
commit59383d574046616ede75e51eeb404c9eb8b56d40 (patch)
treeaa33d0c703c14c8583a73b668644e86142530c3a /libavcodec/mss2.c
parenta224b2cb30759264147abda4aeb59de21966265c (diff)
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 'libavcodec/mss2.c')
0 files changed, 0 insertions, 0 deletions