[FFmpeg-devel] [PATCH] lavfi: check the validity of formats lists.

Michael Niedermayer michael at niedermayer.cc
Fri Aug 14 10:31:55 EEST 2020


On Thu, Aug 13, 2020 at 01:20:28PM +0200, Nicolas George wrote:
> Part of the code expect valid lists, in particular no duplicates.
> These tests allow to catch bugs in filters (unlikely but possible)
> and to give a clear message when the error comes from the user
> ((a)formats) or the application (buffersink).
> 
> Signed-off-by: Nicolas George <george at nsup.org>
> ---
>  libavfilter/avfiltergraph.c | 50 ++++++++++++++++++++++++++
>  libavfilter/formats.c       | 71 +++++++++++++++++++++++++++++++++++++
>  libavfilter/formats.h       | 28 +++++++++++++++
>  3 files changed, 149 insertions(+)

this 
ffplay -nostats mm-short.mpg -t 1 -af volume=replaygain=track,ebur128 -nodisp -autoexit

gets stuck with the patch, seems not depend on the input sample

thx

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

He who knows, does not speak. He who speaks, does not know. -- Lao Tsu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20200814/ba59ab91/attachment.sig>


More information about the ffmpeg-devel mailing list