Commit e4ef2e07 authored by Michael Niedermayer's avatar Michael Niedermayer

riff_has_valid_tags: remove unused variable

Fixes CID739471
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 73581afe
...@@ -636,10 +636,9 @@ void ff_riff_write_info_tag(AVIOContext *pb, const char *tag, const char *str) ...@@ -636,10 +636,9 @@ void ff_riff_write_info_tag(AVIOContext *pb, const char *tag, const char *str)
static int riff_has_valid_tags(AVFormatContext *s) static int riff_has_valid_tags(AVFormatContext *s)
{ {
int i; int i;
AVDictionaryEntry *t = NULL;
for (i = 0; *ff_riff_tags[i]; i++) { 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; return 1;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment