Commit d00026d0 authored by Kostya Shishkov's avatar Kostya Shishkov

Print error message for unsupported mode (RGB planar,CMYK,YCrCb)

Originally committed as revision 7006 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent e2570297
......@@ -387,6 +387,12 @@ static int tiff_decode_tag(TiffContext *s, uint8_t *start, uint8_t *buf, uint8_t
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:
......
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