[FFmpeg-cvslog] tiff: print log in case of unknown / unsupported tag.
Stefano Sabatini
git at videolan.org
Mon Jun 6 03:51:49 CEST 2011
ffmpeg | branch: master | Stefano Sabatini <stefano.sabatini-lala at poste.it> | Mon May 9 21:26:39 2011 +0200| [1863a3c7aa897b2077e408ab0bdc57cb3a13d5f3] | committer: Anton Khirnov
tiff: print log in case of unknown / unsupported tag.
Helps debugging.
Signed-off-by: Anton Khirnov <anton at khirnov.net>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=1863a3c7aa897b2077e408ab0bdc57cb3a13d5f3
---
libavcodec/tiff.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/libavcodec/tiff.c b/libavcodec/tiff.c
index eaaeb84..08cd3b0 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;
}
More information about the ffmpeg-cvslog
mailing list