summaryrefslogtreecommitdiff
path: root/libavcodec/rawdec.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/rawdec.c')
-rw-r--r--libavcodec/rawdec.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/rawdec.c b/libavcodec/rawdec.c
index ebd9ded3e4..89e9ea936b 100644
--- a/libavcodec/rawdec.c
+++ b/libavcodec/rawdec.c
@@ -139,7 +139,8 @@ static int raw_decode(AVCodecContext *avctx,
if(context->flip)
flip(avctx, picture);
- if (avctx->codec_tag == MKTAG('Y', 'V', '1', '2'))
+ if ( avctx->codec_tag == MKTAG('Y', 'V', '1', '2')
+ || avctx->codec_tag == MKTAG('Y', 'V', 'U', '9'))
{
// swap fields
unsigned char *tmp = picture->data[1];