[FFmpeg-devel] 回复: [PATCH] fftools/ffmpeg: reset pointer, which could be reused by Android and iOS

徐福隆 839789740 at qq.com
Fri Mar 3 12:24:05 EET 2023


Thank you for your reminding, George.
I really ignore av_freep() above.
Please ignore this patch.


// xufuji456


------------------ 原始邮件 ------------------
发件人:                                                                                                                        "ffmpeg-devel"                                                                                    <george at nsup.org>;
发送时间: 2023年3月3日(星期五) 下午5:31
收件人: "FFmpeg development discussions and patches"<ffmpeg-devel at ffmpeg.org>;
抄送: "徐福隆"<839789740 at qq.com>;
主题: Re: [FFmpeg-devel] [PATCH] fftools/ffmpeg: reset pointer, which could be reused by Android and iOS



"zhilizhao(赵志立)" (12023-03-03):
> >     av_freep(&input_files);
> >     av_freep(&output_files);
> > +    input_files       = NULL;
> > +    output_files      = NULL;
> Until we decided to make ffmpeg cmd works as a library,
> it doesn’t matter.

It is worse than that: the patch completely ignores the semantic of
av_freep().

Useless patch with no explanations at all in the mail => just ignore the
mail.

>		      I’m interested on the idea to make fftools
> work like a library. But it depends on the community.

That would be more or less what an extended libavfilter with movie
source and sink would be.

Regards,

-- 
  Nicolas George


More information about the ffmpeg-devel mailing list