summaryrefslogtreecommitdiff
path: root/libavcodec/tiff.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2011-05-09 21:26:39 +0200
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2011-05-13 16:33:53 +0200
commit762b4662f04026ae31bb2be9678e42b7f2c4e2c1 (patch)
tree9082faf019af0377bd1fa0d5205235abd0a132e5 /libavcodec/tiff.c
parente3114a9c8a83fc029799209b443eddd45155c793 (diff)
tiff: print log in case of unknown / unsupported tag
Helps debugging.
Diffstat (limited to 'libavcodec/tiff.c')
-rw-r--r--libavcodec/tiff.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/tiff.c b/libavcodec/tiff.c
index 587ddc604f..99001612d5 100644
--- a/libavcodec/tiff.c
+++ b/libavcodec/tiff.c
@@ -474,6 +474,9 @@ static int tiff_decode_tag(TiffContext *s, const uint8_t *start, const uint8_t *
if(s->compr == TIFF_G4)
s->fax_opts = value;
break;
+
+ default:
+ av_log(s->avctx, AV_LOG_DEBUG, "Unknown or unsupported tag %d/0X%0X\n", tag, tag);
}
return 0;
}