On date Monday 2011-05-09 22:38:55 +0200, Michael Niedermayer encoded:
> On Mon, May 09, 2011 at 10:27:55PM +0200, Stefano Sabatini wrote:
> > ---
> >  libavcodec/tiff.c |    2 ++
> >  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> LGTM

Updated, added libav-devel to recipients.
>From ba93fc2d5a2580e5f4231cb855f104eb9515384f Mon Sep 17 00:00:00 2001
From: Stefano Sabatini <[email protected]>
Date: Mon, 9 May 2011 21:26:39 +0200
Subject: [PATCH] tiff: print warning in case of unknown / unsupported tag

---
 libavcodec/tiff.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/libavcodec/tiff.c b/libavcodec/tiff.c
index fcbb1af..8a565ef 100644
--- a/libavcodec/tiff.c
+++ b/libavcodec/tiff.c
@@ -472,6 +472,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_WARNING, "Unknown or unsupported tag %d/0X%0X\n", tag, tag);
     }
     return 0;
 }
-- 
1.7.2.3

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to