OSDN Git Service
(root)
/
coroid
/
ffmpeg_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5dd7f99
)
find_info_tag: Make sure the output buffer is null terminated
author
Martin Storsjö
<martin@martin.st>
Tue, 5 Oct 2010 19:33:56 +0000
(19:33 +0000)
committer
Martin Storsjö
<martin@martin.st>
Tue, 5 Oct 2010 19:33:56 +0000
(19:33 +0000)
Originally committed as revision 25353 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/utils.c
patch
|
blob
|
history
diff --git
a/libavformat/utils.c
b/libavformat/utils.c
index
5985511
..
a545a5d
100644
(file)
--- a/
libavformat/utils.c
+++ b/
libavformat/utils.c
@@
-3361,8
+3361,8
@@
int find_info_tag(char *arg, int arg_size, const char *tag1, const char *info)
}
p++;
}
- *q = '\0';
}
+ *q = '\0';
if (!strcmp(tag, tag1))
return 1;
if (*p != '&')