diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-10-17 03:36:22 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-10-17 03:39:13 +0200 |
commit | 5cdcc44e4138f9c96841cbf02d4394e882da07bc (patch) | |
tree | b4f70481e9937e0ad12992d3a79eb3ae6acd1c62 | |
parent | 52673ab18a8f241e37aea83236ffe0fa84b78655 (diff) | |
download | ffmpeg-5cdcc44e4138f9c96841cbf02d4394e882da07bc.tar.gz |
segment: replace strdup() by av_strdup()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavformat/segment.c | 2 |
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'; } |