[FFmpeg-cvslog] cosmetics: reindent after d3abbb1d1

Paul B Mahol git at videolan.org
Sun Jul 15 04:33:41 CEST 2012


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Sun Jul 15 02:31:40 2012 +0000| [1463bd902a44ad3f12f77e1876b91d79ff31d952] | committer: Paul B Mahol

cosmetics: reindent after d3abbb1d1

Signed-off-by: Paul B Mahol <onemda at gmail.com>

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

 libavcodec/utils.c |   14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/libavcodec/utils.c b/libavcodec/utils.c
index 2d87fa8..78e0e11 100644
--- a/libavcodec/utils.c
+++ b/libavcodec/utils.c
@@ -1021,13 +1021,13 @@ int ff_alloc_packet2(AVCodecContext *avctx, AVPacket *avpkt, int size)
     }
 
     if (avctx) {
-    av_assert0(!avpkt->data || avpkt->data != avctx->internal->byte_buffer);
-    if (!avpkt->data || avpkt->size < size) {
-        av_fast_padded_malloc(&avctx->internal->byte_buffer, &avctx->internal->byte_buffer_size, size);
-        avpkt->data = avctx->internal->byte_buffer;
-        avpkt->size = avctx->internal->byte_buffer_size;
-        avpkt->destruct = NULL;
-    }
+        av_assert0(!avpkt->data || avpkt->data != avctx->internal->byte_buffer);
+        if (!avpkt->data || avpkt->size < size) {
+            av_fast_padded_malloc(&avctx->internal->byte_buffer, &avctx->internal->byte_buffer_size, size);
+            avpkt->data = avctx->internal->byte_buffer;
+            avpkt->size = avctx->internal->byte_buffer_size;
+            avpkt->destruct = NULL;
+        }
     }
 
     if (avpkt->data) {



More information about the ffmpeg-cvslog mailing list