diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-09-19 10:27:34 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-09-21 04:32:09 +0200 |
commit | 622efc5c83fd77dff52242a9a503cd8dcee8e36f (patch) | |
tree | fbaac3eee2841e838df2dd4b388aa225fa51f844 /libavcodec/hevc_parser.c | |
parent | d63f8c873bd65f4dfab852069fb5faf07cffe6aa (diff) | |
download | ffmpeg-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 'libavcodec/hevc_parser.c')
0 files changed, 0 insertions, 0 deletions