OSDN Git Service
(root)
/
coroid
/
libav_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a2a3e8
)
indent
author
Michael Niedermayer
<michaelni@gmx.at>
Fri, 23 May 2008 13:03:04 +0000
(13:03 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Fri, 23 May 2008 13:03:04 +0000
(13:03 +0000)
Originally committed as revision 13256 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/utils.c
patch
|
blob
|
history
diff --git
a/libavformat/utils.c
b/libavformat/utils.c
index
aa8a117
..
f9d50ce
100644
(file)
--- a/
libavformat/utils.c
+++ b/
libavformat/utils.c
@@
-2245,8
+2245,8
@@
int ff_new_chapter(AVFormatContext *s, int id, int64_t start, int64_t end, const
if(!chapter){
chapter= av_mallocz(sizeof(AVChapter));
- if(!chapter)
- return AVERROR(ENOMEM);
+
if(!chapter)
+
return AVERROR(ENOMEM);
dynarray_add(&s->chapters, &s->num_chapters, chapter);
}
if(chapter->title)