From 76c79aa28fc8cf0bfe52915317a3cfc72383d0ef Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Fri, 6 Apr 2012 00:53:09 +0200 Subject: [PATCH] Support yuva444p rawvideo in nut. Fixes ticket #1058. --- libavcodec/raw.c | 1 + libavformat/nut.c | 1 + 2 files changed, 2 insertions(+) diff --git a/libavcodec/raw.c b/libavcodec/raw.c index ec532a32c4..c10b52fd5b 100644 --- a/libavcodec/raw.c +++ b/libavcodec/raw.c @@ -130,6 +130,7 @@ const PixelFormatTag ff_raw_pix_fmt_tags[] = { { PIX_FMT_YUV444P16LE, MKTAG('Y', '3', 0 , 16 ) }, { PIX_FMT_YUV444P16BE, MKTAG(16 , 0 , '3', 'Y') }, { PIX_FMT_YUVA420P, MKTAG('Y', '4', 11 , 8 ) }, + { PIX_FMT_YUVA444P, MKTAG('Y', '4', 0 , 8 ) }, { PIX_FMT_GRAY8A, MKTAG('Y', '2', 0 , 8 ) }, /* quicktime */ diff --git a/libavformat/nut.c b/libavformat/nut.c index 953ec3679e..1cfcadcef3 100644 --- a/libavformat/nut.c +++ b/libavformat/nut.c @@ -93,6 +93,7 @@ const AVCodecTag ff_nut_video_tags[] = { { CODEC_ID_RAWVIDEO, MKTAG('Y', '3', 0 , 16 ) }, { CODEC_ID_RAWVIDEO, MKTAG(16 , 0 , '3', 'Y') }, { CODEC_ID_RAWVIDEO, MKTAG('Y', '4', 11 , 8 ) }, + { CODEC_ID_RAWVIDEO, MKTAG('Y', '4', 0 , 8 ) }, { CODEC_ID_RAWVIDEO, MKTAG('Y', '2', 0 , 8 ) }, { CODEC_ID_NONE , 0 } };