aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/scale_eval.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-09-19 10:27:34 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-09-21 04:32:09 +0200
commit622efc5c83fd77dff52242a9a503cd8dcee8e36f (patch)
treefbaac3eee2841e838df2dd4b388aa225fa51f844 /libavfilter/scale_eval.c
parentd63f8c873bd65f4dfab852069fb5faf07cffe6aa (diff)
downloadffmpeg-622efc5c83fd77dff52242a9a503cd8dcee8e36f.tar.gz
avformat/dashdec: Remove redundant checks
This commit removes two always-true checks as well as a dead default case of a switch. The check when parsing manifests is always true, because we now jump to the cleaning code in case the format of the representation is unknown. The default case of the switch is dead, because the type of the representation is already checked at the beginning of parse_manifest_representation(). The check when reading the header is dead, because we error out if an error happened before. Reviewed-by: Steven Liu <lq@chinaffmpeg.org> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavfilter/scale_eval.c')
0 files changed, 0 insertions, 0 deletions