changeset 31978:3525dc14e3dc

Add the proper include instead of declaring the correct_pts variable extern.
author diego
date Tue, 07 Sep 2010 23:35:57 +0000
parents 4a4dcc72da52
children ed8a577b9a20
files libmpcodecs/vf_tfields.c libmpcodecs/vf_yadif.c
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/vf_tfields.c	Tue Sep 07 23:29:49 2010 +0000
+++ b/libmpcodecs/vf_tfields.c	Tue Sep 07 23:35:57 2010 +0000
@@ -28,6 +28,7 @@
 #include "mp_image.h"
 #include "vf.h"
 
+#include "libmpdemux/demuxer.h"
 #include "libvo/fastmemcpy.h"
 
 struct vf_priv_s {
@@ -326,7 +327,6 @@
 static void (*qpel_4tap)(unsigned char *d, unsigned char *s, int w, int h, int ds, int ss, int up);
 
 static int continue_buffered_image(struct vf_instance *vf);
-extern int correct_pts;
 
 static int put_image(struct vf_instance *vf, mp_image_t *mpi, double pts)
 {
--- a/libmpcodecs/vf_yadif.c	Tue Sep 07 23:29:49 2010 +0000
+++ b/libmpcodecs/vf_yadif.c	Tue Sep 07 23:35:57 2010 +0000
@@ -31,6 +31,7 @@
 #include "img_format.h"
 #include "mp_image.h"
 #include "vf.h"
+#include "libmpdemux/demuxer.h"
 #include "libvo/fastmemcpy.h"
 #include "libavutil/common.h"
 
@@ -382,7 +383,6 @@
 }
 
 static int continue_buffered_image(struct vf_instance *vf);
-extern int correct_pts;
 
 static int put_image(struct vf_instance *vf, mp_image_t *mpi, double pts){
     int tff;