diff options
Diffstat (limited to 'libmpcodecs')
-rw-r--r-- | libmpcodecs/vd_ffmpeg.c | 1 | ||||
-rw-r--r-- | libmpcodecs/vf_yadif.c | 2 |
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; |