Commit efcea779 authored by Mats Peterson's avatar Mats Peterson Committed by Michael Niedermayer

avcodec/rawdec: Fix nut pal8 test

Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent bbb45773
...@@ -121,7 +121,7 @@ static av_cold int raw_init_decoder(AVCodecContext *avctx) ...@@ -121,7 +121,7 @@ static av_cold int raw_init_decoder(AVCodecContext *avctx)
if (avctx->codec_tag == MKTAG('B','1','W','0') || if (avctx->codec_tag == MKTAG('B','1','W','0') ||
avctx->codec_tag == MKTAG('B','0','W','1')) avctx->codec_tag == MKTAG('B','0','W','1'))
context->is_nut_mono = 1; context->is_nut_mono = 1;
else if (avctx->codec_tag == MKTAG('P','A','L','8')) else if (avctx->codec_tag == MKTAG('P','A','L',8))
context->is_nut_pal8 = 1; context->is_nut_pal8 = 1;
if (avctx->codec_tag == AV_RL32("yuv2") && if (avctx->codec_tag == AV_RL32("yuv2") &&
......
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