1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00

segment: replace strdup() by av_strdup()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2011-10-17 03:36:22 +02:00
parent 52673ab18a
commit 5cdcc44e41

View File

@ -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';
}