mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-26 17:32:06 +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_ATTACHMENT:
|
||||||
case AVMEDIA_TYPE_UNKNOWN:
|
case AVMEDIA_TYPE_UNKNOWN:
|
||||||
break;
|
break;
|
||||||
default:
|
default: av_assert0(0);
|
||||||
abort();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ist->par = avcodec_parameters_alloc();
|
ist->par = avcodec_parameters_alloc();
|
||||||
|
Loading…
Reference in New Issue
Block a user