mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-10-26 02:10:55 +08:00
fftools/ffmpeg: return an error from assert_avoptions() instead of aborting
Rename it to check_avoptions().
This commit is contained in:
@@ -1119,7 +1119,10 @@ int dec_open(InputStream *ist)
|
||||
av_err2str(ret));
|
||||
return ret;
|
||||
}
|
||||
assert_avoptions(ist->decoder_opts);
|
||||
|
||||
ret = check_avoptions(ist->decoder_opts);
|
||||
if (ret < 0)
|
||||
return ret;
|
||||
|
||||
ret = dec_thread_start(ist);
|
||||
if (ret < 0) {
|
||||
|
||||
Reference in New Issue
Block a user