diff --git a/libavformat/utils.c b/libavformat/utils.c index d775a3dd69..40976547c0 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -2251,7 +2251,7 @@ int ff_new_chapter(AVFormatContext *s, int id, int64_t start, int64_t end, const } if(chapter->title) av_free(chapter->title); - chapter->title = av_strdup(title); + chapter->title = av_strdup(title); chapter->id = id; chapter->start = start; chapter->end = end;