aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-12-02 19:19:19 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-12-03 17:01:06 +0100
commitb7e3ae19b8d3dc1b14c600220a47171e5e3ef746 (patch)
tree8416bbd4b88ab7fba05732b8f7ddd52c23ce32fb /libavfilter
parent60a2c74a5eaf8d4ab16a68842be3b9cfbd45b467 (diff)
downloadffmpeg-b7e3ae19b8d3dc1b14c600220a47171e5e3ef746.tar.gz
avdevice/lavfi: Simplify setting sample_fmts
The length of this list is a compile-time constant, so there is no need to calculate it again at runtime. (This also avoids an implicit requirement of -1 == AV_SAMPLE_FMT_NONE.) Reviewed-by: Nicolas George <george@nsup.org> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavfilter')
0 files changed, 0 insertions, 0 deletions