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:
Anton Khirnov 2023-12-19 11:43:58 +01:00
parent 0a5813fc68
commit f8939bad1e

View File

@ -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();