fftools/ffmpeg_filter: return error codes from ofilter_bind_ost() instead of aborting

This commit is contained in:
Anton Khirnov
2023-07-13 15:11:07 +02:00
parent 6298dd683b
commit ab16e324ea
3 changed files with 12 additions and 6 deletions

View File

@@ -743,7 +743,7 @@ void ifilter_sub2video_heartbeat(InputFilter *ifilter, int64_t pts, AVRational t
*/
int ifilter_parameters_from_dec(InputFilter *ifilter, const AVCodecContext *dec);
void ofilter_bind_ost(OutputFilter *ofilter, OutputStream *ost);
int ofilter_bind_ost(OutputFilter *ofilter, OutputStream *ost);
/**
* Create a new filtergraph in the global filtergraph list.