aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/rawdec.c
diff options
context:
space:
mode:
authorami_stuff <ami_stuff@o2.pl>2011-07-06 10:05:08 +0200
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2011-07-06 10:05:08 +0200
commit3950376b8baa6292f2f195dae43d7b00bcbf53e7 (patch)
treef9b76225bef33d3ec7e3612f14ca6cc50b1d3d95 /libavcodec/rawdec.c
parent923cff747a0f31b0e120e1899a4b807fb8137484 (diff)
downloadffmpeg-3950376b8baa6292f2f195dae43d7b00bcbf53e7.tar.gz
Support fourcc YV24.
Fixes ticket #306.
Diffstat (limited to 'libavcodec/rawdec.c')
-rw-r--r--libavcodec/rawdec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/rawdec.c b/libavcodec/rawdec.c
index d48cbed3e7..177f08cb93 100644
--- a/libavcodec/rawdec.c
+++ b/libavcodec/rawdec.c
@@ -208,6 +208,7 @@ static int raw_decode(AVCodecContext *avctx,
if ( avctx->codec_tag == MKTAG('Y', 'V', '1', '2')
|| avctx->codec_tag == MKTAG('Y', 'V', '1', '6')
+ || avctx->codec_tag == MKTAG('Y', 'V', '2', '4')
|| avctx->codec_tag == MKTAG('Y', 'V', 'U', '9'))
FFSWAP(uint8_t *, picture->data[1], picture->data[2]);