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

fenrir subversion
Sat May 15 01:09:09 CEST 2010


Author: fenrir
Date: Sat May 15 01:09:08 2010
New Revision: 23141

Log:
Reindent after last commit on dxva2 h264 AVHWAccel.

Modified:
   trunk/libavcodec/dxva2_h264.c

Modified: trunk/libavcodec/dxva2_h264.c
==============================================================================
--- trunk/libavcodec/dxva2_h264.c	Sat May 15 01:08:23 2010	(r23140)
+++ trunk/libavcodec/dxva2_h264.c	Sat May 15 01:09:08 2010	(r23141)
@@ -57,14 +57,14 @@ static void fill_picture_parameters(stru
     pp->UsedForReferenceFlags  = 0;
     pp->NonExistingFrameFlags  = 0;
     for (i = 0, j = 0; i < FF_ARRAY_ELEMS(pp->RefFrameList); i++) {
-            const Picture *r;
-            if (j < h->short_ref_count) {
-                r = h->short_ref[j++];
-            } else {
-                r = NULL;
-                while (!r && j < h->short_ref_count + 16)
-                    r = h->long_ref[j++ - h->short_ref_count];
-            }
+        const Picture *r;
+        if (j < h->short_ref_count) {
+            r = h->short_ref[j++];
+        } else {
+            r = NULL;
+            while (!r && j < h->short_ref_count + 16)
+                r = h->long_ref[j++ - h->short_ref_count];
+        }
         if (r) {
             fill_picture_entry(&pp->RefFrameList[i],
                                ff_dxva2_get_surface_index(ctx, r),



More information about the ffmpeg-cvslog mailing list