[FFmpeg-cvslog] r20114 - trunk/libavcodec/tiff.c
kostya
subversion
Thu Oct 1 08:31:49 CEST 2009
Author: kostya
Date: Thu Oct 1 08:31:49 2009
New Revision: 20114
Log:
Do not attempt to decode TIFF files containing fax data with uncompressed
mode allowed for there is no code to decode it (yet).
Modified:
trunk/libavcodec/tiff.c
Modified: trunk/libavcodec/tiff.c
==============================================================================
--- trunk/libavcodec/tiff.c Thu Oct 1 07:52:38 2009 (r20113)
+++ trunk/libavcodec/tiff.c Thu Oct 1 08:31:49 2009 (r20114)
@@ -139,6 +139,11 @@ static int tiff_unpack_strip(TiffContext
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{
More information about the ffmpeg-cvslog
mailing list