Thanks for trying to fix it. Le decadi 30 prairial, an CCXXV, Paul B Mahol a écrit : > Fixes #6424. > > Signed-off-by: Paul B Mahol <one...@gmail.com> > --- > libavfilter/af_amix.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavfilter/af_amix.c b/libavfilter/af_amix.c > index 9fe505b..e06c753 100644 > --- a/libavfilter/af_amix.c > +++ b/libavfilter/af_amix.c > @@ -288,7 +288,7 @@ static int output_frame(AVFilterLink *outlink) > if (ns < nb_samples) { > if (!(s->input_state[i] & INPUT_EOF)) > /* unclosed input with not enough samples */ > - return 0; > + return ff_request_frame(ctx->inputs[i]); > /* closed input to drain */ > nb_samples = ns; > }
There is a call filter_frame() -> output_frame(); filter_frame() must never call ff_request_frame(). If you are absolutely sure that this branch can only be entered when coming from request_frame() or request_samples(), please include a proof of it in the commit message or as a comment. If you are not absolutely sure, then it may be invalid. Regards, -- Nicolas George
signature.asc
Description: Digital signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel