mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-24 12:09:55 +00:00
rawdec: Support fourccs YV16 and YV24
This commit is contained in:
parent
34d908c083
commit
835a893bcb
@ -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]);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user