[SCM] libav/experimental: Reindent the content of one if(){} in ff_dxva2_common_end_frame.

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:58:24 UTC 2013


The following commit has been merged in the experimental branch:
commit 8cf9bbb6dc04e69f339c2690bb4d6192656a8a40
Author: Laurent Aimar <fenrir at videolan.org>
Date:   Sat Jan 23 18:00:51 2010 +0000

    Reindent the content of one if(){} in ff_dxva2_common_end_frame.
    
    Originally committed as revision 21402 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavcodec/dxva2_h264.c b/libavcodec/dxva2_h264.c
index 827ab68..00caa76 100644
--- a/libavcodec/dxva2_h264.c
+++ b/libavcodec/dxva2_h264.c
@@ -495,15 +495,15 @@ static int ff_dxva2_common_end_frame(AVCodecContext *avctx, MpegEncContext *s,
     buffer_count++;
 
     if (qm_size > 0) {
-    result = commit_buffer(avctx, ctx, &buffer[buffer_count],
-                           DXVA2_InverseQuantizationMatrixBufferType,
-                           qm, qm_size, 0);
-    if (result) {
-        av_log(avctx, AV_LOG_ERROR,
-               "Failed to add inverse quantization matrix buffer\n");
-        goto end;
-    }
-    buffer_count++;
+        result = commit_buffer(avctx, ctx, &buffer[buffer_count],
+                               DXVA2_InverseQuantizationMatrixBufferType,
+                               qm, qm_size, 0);
+        if (result) {
+            av_log(avctx, AV_LOG_ERROR,
+                   "Failed to add inverse quantization matrix buffer\n");
+            goto end;
+        }
+        buffer_count++;
     }
 
     result = commit_bs_si(avctx,

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list