summaryrefslogtreecommitdiff
path: root/libavformat/utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/utils.c')
-rw-r--r--libavformat/utils.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c
index f9d50ce786..d775a3dd69 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -2251,7 +2251,6 @@ int ff_new_chapter(AVFormatContext *s, int id, int64_t start, int64_t end, const
}
if(chapter->title)
av_free(chapter->title);
- if (title)
chapter->title = av_strdup(title);
chapter->id = id;
chapter->start = start;