Browse Source

segment: replace strdup() by av_strdup()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n0.9
Michael Niedermayer 14 years ago
parent
commit
5cdcc44e41
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/segment.c

+ 1
- 1
libavformat/segment.c 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';
}


Loading…
Cancel
Save