summaryrefslogtreecommitdiff
path: root/libavcodec/rawdec.c
diff options
context:
space:
mode:
authorMats Peterson <matsp888@yahoo.com>2016-02-13 00:34:02 +0100
committerMichael Niedermayer <michael@niedermayer.cc>2016-02-13 01:21:12 +0100
commitefcea77996859411f785f4913d16292cd5a02638 (patch)
tree9321ca0298c551e4a886287c875a5091e25eb588 /libavcodec/rawdec.c
parentbbb45773b0436887b92e3a7eab79d5b460398f77 (diff)
avcodec/rawdec: Fix nut pal8 test
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/rawdec.c')
-rw-r--r--libavcodec/rawdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/rawdec.c b/libavcodec/rawdec.c
index 1b85b9670f..3cc6a15f7d 100644
--- a/libavcodec/rawdec.c
+++ b/libavcodec/rawdec.c
@@ -121,7 +121,7 @@ static av_cold int raw_init_decoder(AVCodecContext *avctx)
if (avctx->codec_tag == MKTAG('B','1','W','0') ||
avctx->codec_tag == MKTAG('B','0','W','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;
if (avctx->codec_tag == AV_RL32("yuv2") &&