Browse Source

riff: remove a write-only variable

tags/n1.1
Anton Khirnov 13 years ago
parent
commit
6173a8fe5d
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      libavformat/riff.c

+ 1
- 2
libavformat/riff.c View File

@@ -578,10 +578,9 @@ void ff_riff_write_info_tag(AVIOContext *pb, const char *tag, const char *str)
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;
}



Loading…
Cancel
Save