diff options
author | Marton Balint <cus@passwd.hu> | 2020-09-29 00:16:47 +0200 |
---|---|---|
committer | Marton Balint <cus@passwd.hu> | 2020-10-09 21:07:18 +0200 |
commit | 25ced19aa3097abc0f8b76045efa06b3332c8b94 (patch) | |
tree | 7dcbfc4c7fff985fe0165b3bee8f680a068cc316 /libavformat/aviobuf.c | |
parent | 84d88154995e26ff2dea6b17893a70d309983918 (diff) | |
download | ffmpeg-25ced19aa3097abc0f8b76045efa06b3332c8b94.tar.gz |
avformat/aviobuf: fix indentation
Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'libavformat/aviobuf.c')
-rw-r--r-- | libavformat/aviobuf.c | 16 |
1 files 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; |