aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/raw.c
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2012-05-27 01:13:37 +0200
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2012-05-27 01:13:37 +0200
commitab7d6cb8f770c3b88a8139d1182fcc934062f891 (patch)
tree6943efc1f99b73d79ae6938951619369745dc573 /libavcodec/raw.c
parent5c3f79198c016980b8bd5e876761eb42341c3cec (diff)
downloadffmpeg-ab7d6cb8f770c3b88a8139d1182fcc934062f891.tar.gz
Support decoding fourcc YVYU.
Based on work by ami_stuff. Fixes ticket #1352
Diffstat (limited to 'libavcodec/raw.c')
-rw-r--r--libavcodec/raw.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/raw.c b/libavcodec/raw.c
index c084d1465b..6afbd028a0 100644
--- a/libavcodec/raw.c
+++ b/libavcodec/raw.c
@@ -157,6 +157,7 @@ const PixelFormatTag ff_raw_pix_fmt_tags[] = {
/* special */
{ PIX_FMT_RGB565LE,MKTAG( 3 , 0 , 0 , 0 ) }, /* flipped RGB565LE */
{ PIX_FMT_YUV444P, MKTAG('Y', 'V', '2', '4') }, /* YUV444P, swapped UV */
+ { PIX_FMT_YUYV422, MKTAG('Y', 'V', 'Y', 'U') }, /* YUYV, swapped UV */
{ PIX_FMT_NONE, 0 },
};