diff options
author | Anton Khirnov <anton@khirnov.net> | 2012-10-17 08:39:13 +0400 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2012-10-22 10:49:58 +0400 |
commit | 6173a8fe5d2c0dd490b102101ae5e283d41dfe87 (patch) | |
tree | 466dd8b5e6ab2309fa8b599eb4ee43c349ef8cb9 /libavformat/riff.c | |
parent | d6f4fe68c8e87175e826fdca92e0f3c65793123e (diff) |
riff: remove a write-only variable
Diffstat (limited to 'libavformat/riff.c')
-rw-r--r-- | libavformat/riff.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libavformat/riff.c b/libavformat/riff.c index 3676b76f54..f44feff9a5 100644 --- a/libavformat/riff.c +++ b/libavformat/riff.c @@ -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; } |