You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
fftools/ffmpeg_dec: drop redundant handling of AVERROR_EXPERIMENTAL
Normal error handling does the job just as well.
This commit is contained in:
@@ -1115,9 +1115,6 @@ int dec_open(InputStream *ist)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ((ret = avcodec_open2(ist->dec_ctx, codec, &ist->decoder_opts)) < 0) {
|
if ((ret = avcodec_open2(ist->dec_ctx, codec, &ist->decoder_opts)) < 0) {
|
||||||
if (ret == AVERROR_EXPERIMENTAL)
|
|
||||||
exit_program(1);
|
|
||||||
|
|
||||||
av_log(ist, AV_LOG_ERROR, "Error while opening decoder: %s\n",
|
av_log(ist, AV_LOG_ERROR, "Error while opening decoder: %s\n",
|
||||||
av_err2str(ret));
|
av_err2str(ret));
|
||||||
return ret;
|
return ret;
|
||||||
|
Reference in New Issue
Block a user