Commit 754d4406 authored by kostya's avatar kostya

Do not attempt to decode TIFF files containing fax data with uncompressed

mode allowed for there is no code to decode it (yet).



git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20114 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent e458f4ae
......@@ -139,6 +139,11 @@ static int tiff_unpack_strip(TiffContext *s, uint8_t* dst, int stride, const uin
av_log(s->avctx, AV_LOG_ERROR, "Error allocating temporary buffer\n");
return -1;
}
if(s->fax_opts & 2){
av_log(s->avctx, AV_LOG_ERROR, "Uncompressed fax mode is not supported (yet)\n");
av_free(src2);
return -1;
}
if(!s->fill_order){
memcpy(src2, src, size);
}else{
......
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