[Ffmpeg-cvslog] r7006 - trunk/libavcodec/tiff.c
kostya
subversion
Mon Nov 13 12:20:56 CET 2006
Author: kostya
Date: Mon Nov 13 12:20:50 2006
New Revision: 7006
Modified:
trunk/libavcodec/tiff.c
Log:
Print error message for unsupported mode (RGB planar,CMYK,YCrCb)
Modified: trunk/libavcodec/tiff.c
==============================================================================
--- trunk/libavcodec/tiff.c (original)
+++ trunk/libavcodec/tiff.c Mon Nov 13 12:20:50 2006
@@ -387,6 +387,12 @@
case 1:
s->invert = 0;
break;
+ case 2:
+ case 3:
+ break;
+ default:
+ av_log(s->avctx, AV_LOG_ERROR, "Color mode %d is not supported\n", value);
+ return -1;
}
break;
case TIFF_PAL:
More information about the ffmpeg-cvslog
mailing list