aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mediacodec_sw_buffer.h
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-02-19 23:08:05 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-02-19 23:30:06 +0100
commitc5845afd095393a48967df97adf192cf155acc82 (patch)
tree72c9638064e333c85af12a8e85e1788b716d7bde /libavcodec/mediacodec_sw_buffer.h
parent18af922c536ad7c89e74a3326c58b6c93254a50f (diff)
downloadffmpeg-c5845afd095393a48967df97adf192cf155acc82.tar.gz
avformat/iamf_writer: Return proper error codes
Surprisingly the return value of add_param_definition() (a pointer) has only been used to check for success and not to actually access the pointee; nonsuccess was equated with ENOMEM, although there is a non-enomem error path in this function. Change this by returning an int. Reviewed-by: James Almer <jamrial@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/mediacodec_sw_buffer.h')
0 files changed, 0 insertions, 0 deletions