mirror of https://git.ffmpeg.org/ffmpeg.git
avformat/hls: Remove redundant cast
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
c24ee7c275
commit
ed18b8d79f
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue