aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2014-03-09 12:26:19 +0000
committerVittorio Giovara <vittorio.giovara@gmail.com>2014-04-08 23:24:36 +0200
commitb6a09ef700786b4e1e871dfa0f5c386ea43bbd0a (patch)
treea541cef9ac3378d6d746a9427058ee2c168d1b68
parent92b099daf4b8ef93513e38b43899cb8458a2fde3 (diff)
downloadffmpeg-b6a09ef700786b4e1e871dfa0f5c386ea43bbd0a.tar.gz
rawvideo: Support decoding YVYU422 FourCC
-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 69999b30c7..547ac442f1 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_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') },
{ AV_PIX_FMT_UYVY422, MKTAG('U', 'Y', 'N', 'V') },
diff --git a/libavformat/riff.c b/libavformat/riff.c
index f023bb505b..67300df12a 100644
--- a/libavformat/riff.c
+++ b/libavformat/riff.c
@@ -233,6 +233,7 @@ const AVCodecTag ff_codec_bmp_tags[] = {
{ AV_CODEC_ID_RAWVIDEO, MKTAG('Y', 'U', 'V', '9') },
{ 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_FRWU, MKTAG('F', 'R', 'W', 'U') },
{ AV_CODEC_ID_R10K, MKTAG('R', '1', '0', 'k') },
{ AV_CODEC_ID_R210, MKTAG('r', '2', '1', '0') },