diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-02-19 23:08:05 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-02-19 23:30:06 +0100 |
commit | c5845afd095393a48967df97adf192cf155acc82 (patch) | |
tree | 72c9638064e333c85af12a8e85e1788b716d7bde /libavcodec/h264dsp.c | |
parent | 18af922c536ad7c89e74a3326c58b6c93254a50f (diff) | |
download | ffmpeg-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/h264dsp.c')
0 files changed, 0 insertions, 0 deletions