diff --git a/libavcodec/rawdec.c b/libavcodec/rawdec.c index ba416db..cabc8c4 100644 --- a/libavcodec/rawdec.c +++ b/libavcodec/rawdec.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); diff --git a/libavformat/isom.c b/libavformat/isom.c index 0ddbb81..d5735b9 100644 --- a/libavformat/isom.c +++ b/libavformat/isom.c @@ -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 */