Ticket #913: tiff.diff
| File tiff.diff, 491 bytes (added by ami_stuff, 5 months ago) |
|---|
-
libavcodec/tiff.c
diff --git a/libavcodec/tiff.c b/libavcodec/tiff.c index e92967d..c2c8e02 100644
a b static int tiff_decode_tag(TiffContext *s) 769 769 break; 770 770 case TIFF_ROWSPERSTRIP: 771 771 if (type == TIFF_LONG && value == UINT_MAX) 772 value = s-> avctx->height;772 value = s->height; 773 773 if (value < 1) { 774 774 av_log(s->avctx, AV_LOG_ERROR, 775 775 "Incorrect value of rows per strip\n");
