mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-25 16:52:31 +00:00
fftools/ffmpeg_demux: replace abort() by av_assert0(0)
This is the standard way to mark unreachable cases in a switch
This commit is contained in:
parent
0a5813fc68
commit
f8939bad1e
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user