[FFmpeg-cvslog] r21402 - trunk/libavcodec/dxva2_h264.c

fenrir subversion
Sat Jan 23 19:00:51 CET 2010


Author: fenrir
Date: Sat Jan 23 19:00:51 2010
New Revision: 21402

Log:
Reindent the content of one if(){} in ff_dxva2_common_end_frame.

Modified:
   trunk/libavcodec/dxva2_h264.c

Modified: trunk/libavcodec/dxva2_h264.c
==============================================================================
--- trunk/libavcodec/dxva2_h264.c	Sat Jan 23 18:59:08 2010	(r21401)
+++ trunk/libavcodec/dxva2_h264.c	Sat Jan 23 19:00:51 2010	(r21402)
@@ -495,15 +495,15 @@ static int ff_dxva2_common_end_frame(AVC
     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,



More information about the ffmpeg-cvslog mailing list