diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-10-20 22:34:01 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-10-20 22:34:01 +0200 |
commit | e4ef2e073c2986d3e205fe02fd8d502e5d80c3cf (patch) | |
tree | 6190d2954338b5da1242079dc523dd8e99c85c11 | |
parent | 73581afe01b41d0028afb6b14f5493568cf1be3d (diff) | |
download | ffmpeg-e4ef2e073c2986d3e205fe02fd8d502e5d80c3cf.tar.gz |
riff_has_valid_tags: remove unused variable
Fixes CID739471
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-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 4cdefb91cc..1a5b414524 100644 --- a/libavformat/riff.c +++ b/libavformat/riff.c @@ -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) { 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; } |