aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/v4l2_context.h
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-09-14 01:37:07 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-09-14 15:11:27 +0200
commita489b6a8e398614d8f719b318bbb02db3da4510d (patch)
tree1c8143256781086e1260a670d2d414bbc1fd5944 /libavcodec/v4l2_context.h
parent82b6f4b5563fccfbe21ea1b4e14109ce1f57ef2d (diff)
downloadffmpeg-a489b6a8e398614d8f719b318bbb02db3da4510d.tar.gz
avcodec/cfhdenc: Fix leaks on allocation errors
The CineForm HD encoder attempts to allocate several buffers in its init function; yet if only some of these allocations succeed, the successfully allocated buffers leak. This is fixed by setting the FF_CODEC_CAP_INIT_CLEANUP flag. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavcodec/v4l2_context.h')
0 files changed, 0 insertions, 0 deletions