aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/nut.c
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2014-11-22 23:12:51 +0100
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2014-11-23 06:51:18 +0100
commit6369a7b742bd64e7ded377fe79a5d723379ce08d (patch)
treeb499b386e60267de3a4774b86f6888fb878d1eef /libavformat/nut.c
parentd0682b5eb0d9b6d2c1bc8d03e7ab87c29bb08abc (diff)
downloadffmpeg-6369a7b742bd64e7ded377fe79a5d723379ce08d.tar.gz
xface: Fix encoder crashes due to too small on-stack array.
Also add a FATE test. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Diffstat (limited to 'libavformat/nut.c')
-rw-r--r--libavformat/nut.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/nut.c b/libavformat/nut.c
index 9224a96373..86a03015af 100644
--- a/libavformat/nut.c
+++ b/libavformat/nut.c
@@ -40,6 +40,7 @@ const AVCodecTag ff_nut_data_tags[] = {
};
const AVCodecTag ff_nut_video_tags[] = {
+ { AV_CODEC_ID_XFACE, MKTAG('X', 'F', 'A', 'C') },
{ AV_CODEC_ID_VP9, MKTAG('V', 'P', '9', '0') },
{ AV_CODEC_ID_RAWVIDEO, MKTAG('R', 'G', 'B', 15 ) },
{ AV_CODEC_ID_RAWVIDEO, MKTAG('B', 'G', 'R', 15 ) },