Browse Source

rawdec: Support fourccs YV16 and YV24

tags/n0.11
Piotr Bandurski Derek Buitenhuis 14 years ago
parent
commit
835a893bcb
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      libavcodec/rawdec.c

+ 2
- 0
libavcodec/rawdec.c View File

@@ -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…
Cancel
Save