[Ffmpeg-cvslog] r7701 - trunk/libavcodec/tiff.c
kostya
subversion
Thu Jan 25 07:44:54 CET 2007
Author: kostya
Date: Thu Jan 25 07:44:53 2007
New Revision: 7701
Modified:
trunk/libavcodec/tiff.c
Log:
Some TIFFs do not set rows per strip for single strip.
Modified: trunk/libavcodec/tiff.c
==============================================================================
--- trunk/libavcodec/tiff.c (original)
+++ trunk/libavcodec/tiff.c Thu Jan 25 07:44:53 2007
@@ -332,6 +332,7 @@
}else
s->stripdata = start + off;
s->strips = count;
+ if(s->strips == 1) s->rps = s->height;
s->sot = type;
if(s->stripdata > end_buf){
av_log(s->avctx, AV_LOG_ERROR, "Tag referencing position outside the image\n");
More information about the ffmpeg-cvslog
mailing list