fftools/ffmpeg_filter: always pass graph description to fg_create()

Currently NULL would be passed for simple filtergraphs, which would
make the filter code extract the graph description from the output
stream when needed. This is unnecessarily convoluted.
This commit is contained in:
Anton Khirnov 2023-05-21 19:16:39 +02:00
parent badf959ed6
commit da7ae627e1
4 changed files with 14 additions and 15 deletions

View file

@ -853,7 +853,6 @@ static void ost_free(OutputStream **post)
av_freep(&ost->kf.pts);
av_expr_free(ost->kf.pexpr);
av_freep(&ost->avfilter);
av_freep(&ost->logfile_prefix);
av_freep(&ost->apad);