[FFmpeg-devel] [PATCH] vf_mp: do not add duplicated pixel formats

Michael Niedermayer michaelni at gmx.at
Wed Jun 22 17:40:14 CEST 2011


On Wed, Jun 22, 2011 at 10:43:17AM +0200, Clément Bœsch wrote:
> Attached patch fix a crash with:
>   ffmpeg -i input -vf mp=framestep=120 -y output
> 
> Regards,
> 
> -- 
> Clément B.

>  vf_mp.c |    7 ++++++-
>  1 file changed, 6 insertions(+), 1 deletion(-)
> 080b7b452de1c41444621ee7f157a80db04e89ed  0001-vf_mp-do-not-add-duplicated-pixel-formats.patch
> From 4b0e6b576a9c33a8675817c1b611eaa7d2c03581 Mon Sep 17 00:00:00 2001
> From: =?UTF-8?q?Cl=C3=A9ment=20B=C5=93sch?= <clement.boesch at smartjog.com>
> Date: Wed, 22 Jun 2011 10:33:01 +0200
> Subject: [PATCH] vf_mp: do not add duplicated pixel formats.
> 
> This avoid a crash with in avfilter_merge_formats() in case one of the
> filter formats list has multiple time the same entry.
> 
> Thanks to Mina Nagy Zaki for helping figuring out the issue.
> ---
>  libavfilter/vf_mp.c |    7 ++++++-
>  1 files changed, 6 insertions(+), 1 deletions(-)

LGTM

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

Those who are too smart to engage in politics are punished by being
governed by those who are dumber. -- Plato 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110622/63137467/attachment.asc>


More information about the ffmpeg-devel mailing list