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:
52673ab
)
segment: replace strdup() by av_strdup()
author
Michael Niedermayer
<michaelni@gmx.at>
Mon, 17 Oct 2011 01:36:22 +0000
(
03:36
+0200)
committer
Michael Niedermayer
<michaelni@gmx.at>
Mon, 17 Oct 2011 01:39:13 +0000
(
03:39
+0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/segment.c
patch
|
blob
|
history
diff --git
a/libavformat/segment.c
b/libavformat/segment.c
index
91905cf
..
91c4e91
100644
(file)
--- a/
libavformat/segment.c
+++ b/
libavformat/segment.c
@@
-98,7
+98,7
@@
static int seg_write_header(AVFormatContext *s)
if (!seg->path) {
char *t;
- seg->path = strdup(s->filename);
+ seg->path =
av_
strdup(s->filename);
t = rindex(seg->path, '.');
if (t) t = '\0';
}