remove useless title check

Originally committed as revision 13257 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2008-05-23 13:03:32 +00:00
parent 6b43e2c7d3
commit 0dac708e2d

View File

@ -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;