aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPiotr Bandurski <ami_stuff@o2.pl>2016-01-14 18:38:08 +0100
committerPaul B Mahol <onemda@gmail.com>2016-01-15 19:14:51 +0100
commit23ac355487e7c871f907b5c57809948805d17ca2 (patch)
tree28a106573da79d50d7db22a7f29313b8237090e5
parent7d76294ce006692d341beedada7a5cde017f1697 (diff)
downloadffmpeg-23ac355487e7c871f907b5c57809948805d17ca2.tar.gz
avformat/riff: add YUYV FourCC (Drastic YUYV)
-rw-r--r--libavcodec/raw.c1
-rw-r--r--libavformat/riff.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/raw.c b/libavcodec/raw.c
index 62ad338b9f..cda70ac52d 100644
--- a/libavcodec/raw.c
+++ b/libavcodec/raw.c
@@ -53,6 +53,7 @@ const PixelFormatTag ff_raw_pix_fmt_tags[] = {
{ AV_PIX_FMT_YUYV422, MKTAG('V', '4', '2', '2') },
{ AV_PIX_FMT_YUYV422, MKTAG('V', 'Y', 'U', 'Y') },
{ AV_PIX_FMT_YUYV422, MKTAG('Y', 'U', 'N', 'V') },
+ { AV_PIX_FMT_YUYV422, MKTAG('Y', 'U', 'Y', 'V') },
{ AV_PIX_FMT_YVYU422, MKTAG('Y', 'V', 'Y', 'U') }, /* Philips */
{ AV_PIX_FMT_UYVY422, MKTAG('U', 'Y', 'V', 'Y') },
{ AV_PIX_FMT_UYVY422, MKTAG('H', 'D', 'Y', 'C') },
diff --git a/libavformat/riff.c b/libavformat/riff.c
index f297dd4a3b..f22fd474cb 100644
--- a/libavformat/riff.c
+++ b/libavformat/riff.c
@@ -243,6 +243,7 @@ const AVCodecTag ff_codec_bmp_tags[] = {
{ AV_CODEC_ID_RAWVIDEO, MKTAG('Y', 'V', 'U', '9') },
{ AV_CODEC_ID_RAWVIDEO, MKTAG('a', 'u', 'v', '2') },
{ AV_CODEC_ID_RAWVIDEO, MKTAG('Y', 'V', 'Y', 'U') },
+ { AV_CODEC_ID_RAWVIDEO, MKTAG('Y', 'U', 'Y', 'V') },
{ AV_CODEC_ID_FRWU, MKTAG('F', 'R', 'W', 'U') },
{ AV_CODEC_ID_R10K, MKTAG('R', '1', '0', 'k') },
{ AV_CODEC_ID_R210, MKTAG('r', '2', '1', '0') },