[FFmpeg-cvslog] avformat/aviobuf: fix indentation

Marton Balint git at videolan.org
Fri Oct 9 22:25:29 EEST 2020


ffmpeg | branch: master | Marton Balint <cus at passwd.hu> | Tue Sep 29 00:16:47 2020 +0200| [25ced19aa3097abc0f8b76045efa06b3332c8b94] | committer: Marton Balint

avformat/aviobuf: fix indentation

Signed-off-by: Marton Balint <cus at passwd.hu>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=25ced19aa3097abc0f8b76045efa06b3332c8b94
---

 libavformat/aviobuf.c | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/libavformat/aviobuf.c b/libavformat/aviobuf.c
index 2f1abe7d81..c4195e310b 100644
--- a/libavformat/aviobuf.c
+++ b/libavformat/aviobuf.c
@@ -1019,14 +1019,14 @@ int ffio_ensure_seekback(AVIOContext *s, int64_t buf_size)
         update_checksum(s);
         memmove(s->buffer, s->buf_ptr, filled);
     } else {
-    buffer = av_malloc(buf_size);
-    if (!buffer)
-        return AVERROR(ENOMEM);
-    update_checksum(s);
-    memcpy(buffer, s->buf_ptr, filled);
-    av_free(s->buffer);
-    s->buffer = buffer;
-    s->buffer_size = buf_size;
+        buffer = av_malloc(buf_size);
+        if (!buffer)
+            return AVERROR(ENOMEM);
+        update_checksum(s);
+        memcpy(buffer, s->buf_ptr, filled);
+        av_free(s->buffer);
+        s->buffer = buffer;
+        s->buffer_size = buf_size;
     }
     s->buf_ptr = s->buffer;
     s->buf_end = s->buffer + filled;



More information about the ffmpeg-cvslog mailing list