mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-30 11:24:17 +00:00
indent
Originally committed as revision 13256 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
7a2a3e8e40
commit
6b43e2c7d3
@ -2245,8 +2245,8 @@ int ff_new_chapter(AVFormatContext *s, int id, int64_t start, int64_t end, const
|
|||||||
|
|
||||||
if(!chapter){
|
if(!chapter){
|
||||||
chapter= av_mallocz(sizeof(AVChapter));
|
chapter= av_mallocz(sizeof(AVChapter));
|
||||||
if(!chapter)
|
if(!chapter)
|
||||||
return AVERROR(ENOMEM);
|
return AVERROR(ENOMEM);
|
||||||
dynarray_add(&s->chapters, &s->num_chapters, chapter);
|
dynarray_add(&s->chapters, &s->num_chapters, chapter);
|
||||||
}
|
}
|
||||||
if(chapter->title)
|
if(chapter->title)
|
||||||
|
Loading…
Reference in New Issue
Block a user