ffmpeg | branch: master | Carl Eugen Hoyos <ceffm...@gmail.com> | Tue May 22 12:54:32 2018 +0200| [848ce6f0a6075485720475ade0385a359f4700b5] | committer: Carl Eugen Hoyos
lavc/jpeg2000dec: Use a define to clarify the meaning of a constant. > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=848ce6f0a6075485720475ade0385a359f4700b5 --- libavcodec/jpeg2000dec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/jpeg2000dec.c b/libavcodec/jpeg2000dec.c index 12dcc5c6f5..5fa9b9de8f 100644 --- a/libavcodec/jpeg2000dec.c +++ b/libavcodec/jpeg2000dec.c @@ -2063,7 +2063,7 @@ static int jp2_find_codestream(Jpeg2000DecoderContext *s) size = (colour_depth[0] + 7 >> 3) * colour_count + (colour_depth[1] + 7 >> 3) * colour_count + (colour_depth[2] + 7 >> 3) * colour_count; - if (colour_count > 256 || + if (colour_count > AVPALETTE_COUNT || colour_channels != 3 || colour_depth[0] > 16 || colour_depth[1] > 16 || _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog