git.videolan.org Git - ffmpeg.git/rss log
FFmpeg git repo
Les articles publiés sur le site
-
fftools/textformat/avtextformat : Add missing AVERROR()
15 avril, par Andreas Rheinhardt -
fftools/textformat/avtextformat : Initialize stuff earlier
15 avril, par Andreas Rheinhardtfftools/textformat/avtextformat: Initialize stuff earlier avtext_context_close() calls av_opt_free() on an AVTextFormatContext as well as av_bprint_finalize() on the containing section_pbuf AvBPrints, yet it can happen that the AVBPrints have not been initialized (only zeroed) and that av_opt_set_defaults() has not been called. This works, but it is not really documented to do so. So ensure that the options and the AVBPrints have been initialized when avtext_context_close() is called. Reviewed-by: softworkz . <softworkz-at-hotmail.com@ffmpeg.org> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-
fftools/textformat/avtextformat : Fix segfault upon allocation error
15 avril, par Andreas Rheinhardtfftools/textformat/avtextformat: Fix segfault upon allocation error Would happen if an AVTextFormatContext's private context could not be allocated. Reviewed-by: softworkz . <softworkz-at-hotmail.com@ffmpeg.org> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-
fftools/textformat/avtextformat : Fix segfault upon allocation error
14 avril, par Andreas Rheinhardt -
textformat/tw_avio : Remove close_on_uninit param from create_file
14 avril, par Andreas Rheinhardttextformat/tw_avio: Remove close_on_uninit param from create_file avtextwriter_create_file() creates an AVIOContext whose pointer resides in its private context. If it were not always closed on uninit, the AVIOContext would leak, so it makes no sense to have this parameter. Reviewed-by: softworkz . <softworkz-at-hotmail.com@ffmpeg.org> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>