OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
088ed53
)
matroskaenc: simplify mkv_check_tag()
author
Michael Niedermayer
<michaelni@gmx.at>
Wed, 17 Jul 2013 11:30:36 +0000
(13:30 +0200)
committer
Michael Niedermayer
<michaelni@gmx.at>
Wed, 17 Jul 2013 11:30:36 +0000
(13:30 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/matroskaenc.c
patch
|
blob
|
history
diff --git
a/libavformat/matroskaenc.c
b/libavformat/matroskaenc.c
index
2c414e8
..
9b825f7
100644
(file)
--- a/
libavformat/matroskaenc.c
+++ b/
libavformat/matroskaenc.c
@@
-872,13
+872,12
@@
static int mkv_write_tag(AVFormatContext *s, AVDictionary *m, unsigned int eleme
static int mkv_check_tag(AVDictionary *m)
{
AVDictionaryEntry *t = NULL;
- int ret = 0;
while ((t = av_dict_get(m, "", t, AV_DICT_IGNORE_SUFFIX)))
if (av_strcasecmp(t->key, "title") && av_strcasecmp(t->key, "stereo_mode"))
- ret
++
;
+ ret
urn 1
;
- return
ret
;
+ return
0
;
}
static int mkv_write_tags(AVFormatContext *s)