---
 libavformat/riff.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/libavformat/riff.c b/libavformat/riff.c
index d591aa8..3a1519a 100644
--- a/libavformat/riff.c
+++ b/libavformat/riff.c
@@ -712,10 +712,9 @@ int ff_read_riff_info(AVFormatContext *s, int64_t size)
 static int riff_has_valid_tags(AVFormatContext *s)
 {
     int i;
-    AVDictionaryEntry *t = NULL;
 
     for (i = 0; *ff_riff_tags[i]; i++) {
-        if ((t = av_dict_get(s->metadata, ff_riff_tags[i], NULL, 
AV_DICT_MATCH_CASE)))
+        if (av_dict_get(s->metadata, ff_riff_tags[i], NULL, 
AV_DICT_MATCH_CASE))
             return 1;
     }
 
-- 
1.7.10.4

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

Reply via email to