From 1863a3c7aa897b2077e408ab0bdc57cb3a13d5f3 Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Mon, 9 May 2011 21:26:39 +0200 Subject: tiff: print log in case of unknown / unsupported tag. Helps debugging. Signed-off-by: Anton Khirnov --- libavcodec/tiff.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libavcodec/tiff.c') 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; } -- cgit v1.2.3