[FFmpeg-cvslog] r10660 - trunk/libavcodec/h264.c

andoma subversion
Thu Oct 4 08:37:04 CEST 2007


Author: andoma
Date: Thu Oct  4 08:37:04 2007
New Revision: 10660

Log:
Re-indent unreference_pic.

patch by Jeff Downs, heydowns a borg d com
original thread:
Subject: [FFmpeg-devel] [PATCH] Implement PAFF in H.264
Date: 18/09/07 20:30



Modified:
   trunk/libavcodec/h264.c

Modified: trunk/libavcodec/h264.c
==============================================================================
--- trunk/libavcodec/h264.c	(original)
+++ trunk/libavcodec/h264.c	Thu Oct  4 08:37:04 2007
@@ -3109,15 +3109,15 @@ static inline int unreference_pic(H264Co
     if (pic->reference &= refmask) {
         return 0;
     } else {
-    if(pic == h->delayed_output_pic)
-        pic->reference=DELAYED_PIC_REF;
-    else{
-        for(i = 0; h->delayed_pic[i]; i++)
-            if(pic == h->delayed_pic[i]){
-                pic->reference=DELAYED_PIC_REF;
-                break;
-            }
-    }
+        if(pic == h->delayed_output_pic)
+            pic->reference=DELAYED_PIC_REF;
+        else{
+            for(i = 0; h->delayed_pic[i]; i++)
+                if(pic == h->delayed_pic[i]){
+                    pic->reference=DELAYED_PIC_REF;
+                    break;
+                }
+        }
         return 1;
     }
 }




More information about the ffmpeg-cvslog mailing list