[FFmpeg-cvslog] avcodec/rawdec: Fix nut pal8 test
Mats Peterson
git at videolan.org
Sat Feb 13 01:23:05 CET 2016
ffmpeg | branch: master | Mats Peterson <matsp888 at yahoo.com> | Sat Feb 13 00:34:02 2016 +0100| [efcea77996859411f785f4913d16292cd5a02638] | committer: Michael Niedermayer
avcodec/rawdec: Fix nut pal8 test
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=efcea77996859411f785f4913d16292cd5a02638
---
libavcodec/rawdec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/rawdec.c b/libavcodec/rawdec.c
index 1b85b96..3cc6a15 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") &&
More information about the ffmpeg-cvslog
mailing list