summaryrefslogtreecommitdiff
path: root/libavformat/utils.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2008-05-23 13:03:32 +0000
committerMichael Niedermayer <michaelni@gmx.at>2008-05-23 13:03:32 +0000
commit0dac708e2d31898ebccacdb5911b5496b1616989 (patch)
tree8d345c9988e0f7239149a54daa7ce785d9a3370d /libavformat/utils.c
parent6b43e2c7d3a38dfaa455acb002a606fb6609130b (diff)
remove useless title check
Originally committed as revision 13257 to svn://svn.ffmpeg.org/ffmpeg/trunk
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;