summaryrefslogtreecommitdiff
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorRamiro Polla <ramiro.polla@gmail.com>2009-05-31 20:19:16 +0000
committerRamiro Polla <ramiro.polla@gmail.com>2009-05-31 20:19:16 +0000
commit9e1cc5984cd554fb490c22f97d8d6fc30395fe04 (patch)
tree50a8ec67813f0057deec7b34ccad4bf841144bb8 /ffmpeg.c
parent851218584e0d19ddd0a931101e2c9f65aacc7e59 (diff)
indent
Originally committed as revision 19071 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index f7acc7029c..9d035df4aa 100644
--- 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;
}