indent
authorRamiro Polla <ramiro.polla@gmail.com>
Sun, 31 May 2009 20:19:16 +0000 (20:19 +0000)
committerRamiro Polla <ramiro.polla@gmail.com>
Sun, 31 May 2009 20:19:16 +0000 (20:19 +0000)
Originally committed as revision 19071 to svn://svn.ffmpeg.org/ffmpeg/trunk

ffmpeg.c

index f7acc70..9d035df 100644 (file)
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -760,14 +760,14 @@ static void pre_process_video_frame(AVInputStream *ist, AVPicture *picture, void
         picture2 = &picture_tmp;
         avpicture_fill(picture2, buf, dec->pix_fmt, dec->width, dec->height);
 
-            if(avpicture_deinterlace(picture2, picture,
-                                     dec->pix_fmt, dec->width, dec->height) < 0) {
-                /* if error, do not deinterlace */
-                fprintf(stderr, "Deinterlacing failed\n");
-                av_free(buf);
-                buf = NULL;
-                picture2 = picture;
-            }
+        if(avpicture_deinterlace(picture2, picture,
+                                 dec->pix_fmt, dec->width, dec->height) < 0) {
+            /* if error, do not deinterlace */
+            fprintf(stderr, "Deinterlacing failed\n");
+            av_free(buf);
+            buf = NULL;
+            picture2 = picture;
+        }
     } else {
         picture2 = picture;
     }