Commit e8846a43 authored by kostya's avatar kostya

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@7006 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 97b54bfe
......@@ -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