diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-05-04 19:11:11 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-06-12 10:36:30 +0200 |
commit | 68a06640b1db48494498958976b2a22b85115426 (patch) | |
tree | f2fb177c233a3429e12760d53e803443633b4e51 /libavfilter/ebur128.h | |
parent | 0c9e04b0e22cf2571ea3cfe3288cd05b18836b9f (diff) | |
download | ffmpeg-68a06640b1db48494498958976b2a22b85115426.tar.gz |
avcodec/ratecontrol: Don't call ff_rate_control_uninit() ourselves
It is currently done inconsistently: Only one error path
(namely the one from init_pass2()) made ff_rate_control_init()
call ff_rate_control_uninit(); in other error paths
cleanup was left to the caller.
Given that the only caller of this function already performs
the necessary cleanup this commit changes this to always
rely on the caller to perform cleanup on error.
Also return the error code from init_pass2().
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavfilter/ebur128.h')
0 files changed, 0 insertions, 0 deletions