diff options
author | Anton Khirnov <anton@khirnov.net> | 2023-12-19 11:43:58 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2024-01-19 17:54:10 +0100 |
commit | f8939bad1e9d25c30bc22e205376457c446c6734 (patch) | |
tree | 8df4dc5624bfe7b48e0d3cbd5728d303c05978f9 /fftools | |
parent | 0a5813fc6814bba2326e4f172151b2ca1f24a830 (diff) | |
download | ffmpeg-f8939bad1e9d25c30bc22e205376457c446c6734.tar.gz |
fftools/ffmpeg_demux: replace abort() by av_assert0(0)
This is the standard way to mark unreachable cases in a switch
Diffstat (limited to 'fftools')
-rw-r--r-- | fftools/ffmpeg_demux.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fftools/ffmpeg_demux.c b/fftools/ffmpeg_demux.c index 95af31e9ef..5d07b7153d 100644 --- a/fftools/ffmpeg_demux.c +++ b/fftools/ffmpeg_demux.c @@ -1223,8 +1223,7 @@ static int ist_add(const OptionsContext *o, Demuxer *d, AVStream *st) case AVMEDIA_TYPE_ATTACHMENT: case AVMEDIA_TYPE_UNKNOWN: break; - default: - abort(); + default: av_assert0(0); } ist->par = avcodec_parameters_alloc(); |