aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/af_pan.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2023-08-01 21:02:13 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2023-08-07 09:50:29 +0200
commitc48cc9c6e90bc8ca0304bd57cb77f7a689f83391 (patch)
tree18436136e82fc12eced8ace1a3d46ecf2589eda0 /libavfilter/af_pan.c
parentdcc1847b18f01ce168266b9067861a8f5b1709b7 (diff)
downloadffmpeg-c48cc9c6e90bc8ca0304bd57cb77f7a689f83391.tar.gz
avcodec/decode: Extend ff_hwaccel_frame_priv_alloc()'s task
All usages of ff_hwaccel_frame_priv_alloc() have the same pattern: Check for whether a hwaccel is in use; check whether it needs private frame-specific data; allocate the AVBuffer and set it. This commit modifies ff_hwaccel_frame_priv_alloc() to perform this task on its own. (It also seems that the H.264 decoder did not perform proper cleanup in case the buffer could not be allocated. This has been changed.) Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavfilter/af_pan.c')
0 files changed, 0 insertions, 0 deletions