aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-01-18 23:16:07 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-01-21 16:47:38 +0100
commited18b8d79f267f51f3a9e2a0153863dbd2739536 (patch)
tree5a48de3ecd1590f5d50782c06b12d74b1ba020ab /libavformat
parentc24ee7c275b6374b4b6ef4030e93d416a9c2265f (diff)
downloadffmpeg-ed18b8d79f267f51f3a9e2a0153863dbd2739536.tar.gz
avformat/hls: Remove redundant cast
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/hls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/hls.c b/libavformat/hls.c
index 8c526f748f..4568e72cb2 100644
--- a/libavformat/hls.c
+++ b/libavformat/hls.c
@@ -2024,7 +2024,7 @@ static int hls_read_header(AVFormatContext *s)
if (seg && seg->key_type == KEY_SAMPLE_AES && pls->is_id3_timestamped &&
pls->audio_setup_info.codec_id != AV_CODEC_ID_NONE) {
void *iter = NULL;
- while ((in_fmt = (const AVInputFormat *)av_demuxer_iterate(&iter)))
+ while ((in_fmt = av_demuxer_iterate(&iter)))
if (in_fmt->raw_codec_id == pls->audio_setup_info.codec_id)
break;
} else {