aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/extract_mvs.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-09-13 01:10:40 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2021-02-27 07:20:57 +0100
commit2e05113b927f09c3fa872028b6a588ac040c39d6 (patch)
treeaa3952b6ea8a90998a0458f11f5868b9b56365bd /doc/examples/extract_mvs.c
parent0dd79193a773d867b624095d555ebf01c2529ebe (diff)
downloadffmpeg-2e05113b927f09c3fa872028b6a588ac040c39d6.tar.gz
avcodec/sonic: Fix leaks upon allocation errors
The Sonic decoder and encoders allocate several buffers in their init function and return immediately if one of these allocations fails; this will lead to leaks if there was an earlier successfull allocation. Fix this by setting the FF_CODEC_CAP_INIT_CLEANUP flag. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> (cherry picked from commit 7d91f9271ee336da93b6871bf3306348ac1595a7)
Diffstat (limited to 'doc/examples/extract_mvs.c')
0 files changed, 0 insertions, 0 deletions