changeset 5769:59049863494c libavcodec

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
author andoma
date Thu, 04 Oct 2007 06:37:04 +0000
parents 09b557fcfafb
children a1a947d67948
files h264.c
diffstat 1 files changed, 9 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/h264.c	Thu Oct 04 06:35:46 2007 +0000
+++ b/h264.c	Thu Oct 04 06:37:04 2007 +0000
@@ -3109,15 +3109,15 @@
     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;
     }
 }