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:
parent
52673ab18a
commit
5cdcc44e41
@ -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';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user