projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d6f4fe6
)
riff: remove a write-only variable
author
Anton Khirnov
<anton@khirnov.net>
Wed, 17 Oct 2012 04:39:13 +0000
(06:39 +0200)
committer
Anton Khirnov
<anton@khirnov.net>
Mon, 22 Oct 2012 06:49:58 +0000
(08:49 +0200)
libavformat/riff.c
patch
|
blob
|
history
diff --git
a/libavformat/riff.c
b/libavformat/riff.c
index
3676b76
..
f44feff
100644
(file)
--- 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;
}