From ab7d6cb8f770c3b88a8139d1182fcc934062f891 Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Sun, 27 May 2012 01:13:37 +0200 Subject: Support decoding fourcc YVYU. Based on work by ami_stuff. Fixes ticket #1352 --- libavcodec/raw.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libavcodec/raw.c') 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 }, }; -- cgit v1.2.3