summaryrefslogtreecommitdiffstats
path: root/libmpcodecs
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-05-28 08:42:35 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-05-28 08:42:35 +0000
commit5edd9af248f1a917d7daf7e106ac0a18660ef60d (patch)
tree8ac2949040dc139c04f4070fd260f69cb2af7e79 /libmpcodecs
parent1fdbab9197d1e3d77fcc90c18eeeb33d5a7d57ef (diff)
downloadmpv-5edd9af248f1a917d7daf7e106ac0a18660ef60d.tar.bz2
mpv-5edd9af248f1a917d7daf7e106ac0a18660ef60d.tar.xz
Remove some unused variables, patch by timwoj ieee org.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23399 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs')
-rw-r--r--libmpcodecs/vd_ffmpeg.c1
-rw-r--r--libmpcodecs/vf_yadif.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/libmpcodecs/vd_ffmpeg.c b/libmpcodecs/vd_ffmpeg.c
index 047463fee4..06e8875af2 100644
--- a/libmpcodecs/vd_ffmpeg.c
+++ b/libmpcodecs/vd_ffmpeg.c
@@ -735,7 +735,6 @@ static mp_image_t* decode(sh_video_t *sh,void* data,int len,int flags){
AVCodecContext *avctx = ctx->avctx;
mp_image_t* mpi=NULL;
int dr1= ctx->do_dr1;
- unsigned char *buf = NULL;
if(len<=0) return NULL; // skipped frame
diff --git a/libmpcodecs/vf_yadif.c b/libmpcodecs/vf_yadif.c
index abb815ac06..0b37731464 100644
--- a/libmpcodecs/vf_yadif.c
+++ b/libmpcodecs/vf_yadif.c
@@ -347,7 +347,7 @@ static void filter_line_c(struct vf_priv_s *p, uint8_t *dst, uint8_t *prev, uint
}
static void filter(struct vf_priv_s *p, uint8_t *dst[3], int dst_stride[3], int width, int height, int parity, int tff){
- int x, y, i;
+ int y, i;
for(i=0; i<3; i++){
int is_chroma= !!i;