[FFmpeg-devel] [PATCH 2/2] reindent after last commit

Peter Ross pross
Wed Feb 9 13:05:19 CET 2011


---
 libavcodec/bink.c |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/libavcodec/bink.c b/libavcodec/bink.c
index 32330fe..6f11746 100644
--- a/libavcodec/bink.c
+++ b/libavcodec/bink.c
@@ -1161,13 +1161,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");
-- 
1.7.1


-- Peter
(A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20110209/57b0ef6b/attachment.pgp>



More information about the ffmpeg-devel mailing list