bink: reindent after last commit
authorPeter Ross <pross@xvid.org>
Wed, 9 Feb 2011 12:05:19 +0000 (23:05 +1100)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 12 Feb 2011 23:52:51 +0000 (00:52 +0100)
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
(cherry picked from commit adb1ad0d8005dfcbae863bccdda8fdd26bb63f30)

libavcodec/bink.c

index b077528..a6cfb71 100644 (file)
@@ -1163,13 +1163,13 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, AVPac
     int bits_count = pkt->size << 3;
 
     if (c->version > 'b') {
-    if(c->pic.data[0])
-        avctx->release_buffer(avctx, &c->pic);
+        if(c->pic.data[0])
+            avctx->release_buffer(avctx, &c->pic);
 
-    if(avctx->get_buffer(avctx, &c->pic) < 0){
-        av_log(avctx, AV_LOG_ERROR, "get_buffer() failed\n");
-        return -1;
-    }
+        if(avctx->get_buffer(avctx, &c->pic) < 0){
+            av_log(avctx, AV_LOG_ERROR, "get_buffer() failed\n");
+            return -1;
+        }
     } else {
         if(avctx->reget_buffer(avctx, &c->pic) < 0){
             av_log(avctx, AV_LOG_ERROR, "reget_buffer() failed\n");