[FFmpeg-devel] [PATCH] xface: Fix encoder crashes due to too small on-stack array.

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sun Nov 23 06:53:04 CET 2014


On Sat, Nov 22, 2014 at 11:14:45PM +0100, Reimar Döffinger wrote:
> Also add a FATE test.
> 
> Signed-off-by: Reimar Döffinger <Reimar.Doeffinger at gmx.de>
> ---
>  libavcodec/xface.h             | 9 +++++----
>  libavcodec/xfaceenc.c          | 3 +++
>  libavformat/nut.c              | 1 +

I forgot this part:

>  const AVCodecTag ff_nut_video_tags[] = {
> +    { AV_CODEC_ID_XFACE,            MKTAG('X', 'F', 'A', 'C') },

Is that ok to just do?


More information about the ffmpeg-devel mailing list