changeset 4185:7120f779d313 libavcodec

Rows per strip may be >= height
author kostya
date Mon, 13 Nov 2006 05:30:50 +0000
parents cfaa5d84641e
children 14fe1e8d337c
files tiff.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tiff.c	Mon Nov 13 05:29:45 2006 +0000
+++ b/tiff.c	Mon Nov 13 05:30:50 2006 +0000
@@ -292,7 +292,7 @@
         }
         break;
     case TIFF_ROWSPERSTRIP:
-        if(value < 1 || value > s->height){
+        if(value < 1){
             av_log(s->avctx, AV_LOG_ERROR, "Incorrect value of rows per strip\n");
             return -1;
         }