aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-10-17 03:36:22 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-10-17 03:39:13 +0200
commit5cdcc44e4138f9c96841cbf02d4394e882da07bc (patch)
treeb4f70481e9937e0ad12992d3a79eb3ae6acd1c62
parent52673ab18a8f241e37aea83236ffe0fa84b78655 (diff)
downloadffmpeg-5cdcc44e4138f9c96841cbf02d4394e882da07bc.tar.gz
segment: replace strdup() by av_strdup()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavformat/segment.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/segment.c b/libavformat/segment.c
index 91905cf35f..91c4e9130f 100644
--- 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';
}