aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/median_template.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-05-04 19:11:11 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-06-12 10:36:30 +0200
commit68a06640b1db48494498958976b2a22b85115426 (patch)
treef2fb177c233a3429e12760d53e803443633b4e51 /libavfilter/median_template.c
parent0c9e04b0e22cf2571ea3cfe3288cd05b18836b9f (diff)
downloadffmpeg-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/median_template.c')
0 files changed, 0 insertions, 0 deletions