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
committerAnton Khirnov <anton@khirnov.net>2011-06-05 12:49:14 +0200
commit1863a3c7aa897b2077e408ab0bdc57cb3a13d5f3 (patch)
treeb7279c3b040b811ba6c16a3098e5405d1faa5867 /libavcodec/tiff.c
parenta43458d7eb32c2cc560c58c78949f152a8e95e3d (diff)
downloadffmpeg-1863a3c7aa897b2077e408ab0bdc57cb3a13d5f3.tar.gz
tiff: print log in case of unknown / unsupported tag.
Helps debugging. Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavcodec/tiff.c')
-rw-r--r--libavcodec/tiff.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/tiff.c b/libavcodec/tiff.c
index eaaeb84425..08cd3b0a6f 100644
--- a/libavcodec/tiff.c
+++ b/libavcodec/tiff.c
@@ -478,6 +478,8 @@ 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;
}