changeset 10975:cec4a174365c libavcodec

Reindent the content of one if(){} in ff_dxva2_common_end_frame.
author fenrir
date Sat, 23 Jan 2010 18:00:51 +0000
parents b1ccfdc1b409
children b3e3f5cb4b46
files dxva2_h264.c
diffstat 1 files changed, 9 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/dxva2_h264.c	Sat Jan 23 17:59:08 2010 +0000
+++ b/dxva2_h264.c	Sat Jan 23 18:00:51 2010 +0000
@@ -495,15 +495,15 @@
     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,