Commit 835a893b authored by Piotr Bandurski's avatar Piotr Bandurski Committed by Derek Buitenhuis

rawdec: Support fourccs YV16 and YV24

parent 34d908c0
......@@ -179,6 +179,8 @@ static int raw_decode(AVCodecContext *avctx,
flip(avctx, picture);
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]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment