fftools/ffmpeg_dec: drop redundant handling of AVERROR_EXPERIMENTAL
Normal error handling does the job just as well.
This commit is contained in:
parent
518b49a735
commit
6298dd683b
@ -1115,9 +1115,6 @@ int dec_open(InputStream *ist)
|
||||
}
|
||||
|
||||
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_err2str(ret));
|
||||
return ret;
|
||||
|
Loading…
x
Reference in New Issue
Block a user