mirror of
https://github.com/librempeg/librempeg
synced 2024-11-23 11:39:47 +00:00
fftools/ffmpeg: replace an unreachable return with av_assert0(0)
This cannot be reached, because initialization will fail if decoding is requested for a stream but no decoder can be found.
This commit is contained in:
parent
4a59dde0c7
commit
4fbc699ac3
@ -1390,8 +1390,7 @@ static int process_input_packet(InputStream *ist, const AVPacket *pkt, int no_eo
|
|||||||
ret = AVERROR_EOF;
|
ret = AVERROR_EOF;
|
||||||
av_packet_unref(avpkt);
|
av_packet_unref(avpkt);
|
||||||
break;
|
break;
|
||||||
default:
|
default: av_assert0(0);
|
||||||
return -1;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ret == AVERROR_EOF) {
|
if (ret == AVERROR_EOF) {
|
||||||
|
Loading…
Reference in New Issue
Block a user