Commit 83ace80b authored by Anton Khirnov's avatar Anton Khirnov

fftools/ffmpeg: return an error from MATCH_PER_STREAM_OPT() instead of aborting

parent 2f155b18
......@@ -911,7 +911,7 @@ static inline int err_merge(int err0, int err1)
so = &o->name[_i];\
_matches++;\
} else if (_ret < 0)\
exit_program(1);\
return _ret;\
}\
if (_matches > 1)\
WARN_MULTIPLE_OPT_USAGE(name, type, so, st);\
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment