diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-09-11 01:29:38 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-09-11 14:53:06 +0200 |
commit | 0963be71ec262138563eb69ff6812af735db194f (patch) | |
tree | 3791e57df29d48a906ae002dd6ee53dd6c19ce1c /tests/ref/fate/adpcm-xa | |
parent | 5616942220a74d1e201d2eab9f022b0d0fa4c66d (diff) | |
download | ffmpeg-0963be71ec262138563eb69ff6812af735db194f.tar.gz |
avfilter/formats: Remove pointless checks
ff_formats_ref() takes a pointer to an AVFilterFormats and a pointer to
a pointer to an AVFilterFormats as arguments and adds the latter as an
owner to the list pointed to by the former; the latter is hereby always
the address of a list contained in an AVFilterFormatsConfig and can
therefore not be NULL. So remove the check for whether it is NULL; also
do the same for ff_channel_layouts_ref().
Also do the same for the unref functions where argument is never NULL
because it is always the address of an existing lvalue.
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'tests/ref/fate/adpcm-xa')
0 files changed, 0 insertions, 0 deletions