From 6b43e2c7d3a38dfaa455acb002a606fb6609130b Mon Sep 17 00:00:00 2001
From: Michael Niedermayer <michaelni@gmx.at>
Date: Fri, 23 May 2008 13:03:04 +0000
Subject: [PATCH] indent

Originally committed as revision 13256 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 libavformat/utils.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavformat/utils.c b/libavformat/utils.c
index aa8a117c233..f9d50ce7860 100644
--- 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)
-- 
GitLab