isom: add "NO16" FourCC

samples:

http://www.datafilehost.com/download-46d9a0fa.html

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/59/head
Piotr Bandurski 13 years ago committed by Michael Niedermayer
parent 198c4ea200
commit 96e2507363
  1. 2
      libavcodec/rawdec.c
  2. 1
      libavformat/isom.c

@ -94,7 +94,7 @@ static av_cold int raw_init_decoder(AVCodecContext *avctx)
{
RawVideoContext *context = avctx->priv_data;
if (avctx->codec_tag == MKTAG('r','a','w',' '))
if (avctx->codec_tag == MKTAG('r','a','w',' ') || avctx->codec_tag == MKTAG('N','O','1','6'))
avctx->pix_fmt = ff_find_pix_fmt(pix_fmt_bps_mov, avctx->bits_per_coded_sample);
else if (avctx->codec_tag == MKTAG('W','R','A','W'))
avctx->pix_fmt = ff_find_pix_fmt(pix_fmt_bps_avi, avctx->bits_per_coded_sample);

@ -86,6 +86,7 @@ const AVCodecTag ff_codec_movvideo_tags[] = {
{ CODEC_ID_RAWVIDEO, MKTAG('b', 'x', 'b', 'g') },
{ CODEC_ID_RAWVIDEO, MKTAG('b', 'x', 'r', 'g') },
{ CODEC_ID_RAWVIDEO, MKTAG('b', 'x', 'y', 'v') },
{ CODEC_ID_RAWVIDEO, MKTAG('N', 'O', '1', '6') },
{ CODEC_ID_RAWVIDEO, MKTAG('D', 'V', 'O', 'O') }, /* Digital Voodoo SD 8 Bit */
{ CODEC_ID_RAWVIDEO, MKTAG('R', '4', '2', '0') }, /* Radius DV YUV PAL */
{ CODEC_ID_RAWVIDEO, MKTAG('R', '4', '1', '1') }, /* Radius DV YUV NTSC */

Loading…
Cancel
Save