Browse code

Rows per strip may be >= height

Originally committed as revision 7004 to svn://svn.ffmpeg.org/ffmpeg/trunk

Kostya Shishkov authored on 2006/11/13 14:30:50
Showing 1 changed files
... ...
@@ -292,7 +292,7 @@ static int tiff_decode_tag(TiffContext *s, uint8_t *start, uint8_t *buf, uint8_t
292 292
         }
293 293
         break;
294 294
     case TIFF_ROWSPERSTRIP:
295
-        if(value < 1 || value > s->height){
295
+        if(value < 1){
296 296
             av_log(s->avctx, AV_LOG_ERROR, "Incorrect value of rows per strip\n");
297 297
             return -1;
298 298
         }