[FFmpeg-cvslog] r13247 - trunk/libavformat/utils.c
aurel
subversion
Fri May 23 13:45:30 CEST 2008
Author: aurel
Date: Fri May 23 13:45:30 2008
New Revision: 13247
Log:
allows adding chapters with NULL title
Modified:
trunk/libavformat/utils.c
Modified: trunk/libavformat/utils.c
==============================================================================
--- trunk/libavformat/utils.c (original)
+++ trunk/libavformat/utils.c Fri May 23 13:45:30 2008
@@ -2239,6 +2239,7 @@ int ff_new_chapter(AVFormatContext *s, i
AVChapter *chapter = av_mallocz(sizeof(AVChapter));
if(!chapter)
return AVERROR(ENOMEM);
+ if (title)
chapter->title = av_strdup(title);
chapter->start = start;
chapter->end = end;
More information about the ffmpeg-cvslog
mailing list