vc1: Remove now unused variables

Message ID 1366405487-5009-1-git-send-email-martin@martin.st
State Committed
Commit a60136ee570ce0616053dd4160f744c3852f8535
Headers show

Commit Message

Martin Storsjö April 19, 2013, 9:04 p.m.
---
 libavcodec/vc1dec.c |    2 --
 1 file changed, 2 deletions(-)

Comments

Luca Barbato April 19, 2013, 9:35 p.m. | #1
On 04/19/2013 11:04 PM, Martin Storsjö wrote:
> ---
>  libavcodec/vc1dec.c |    2 --
>  1 file changed, 2 deletions(-)
> 

Looks fine.
Benjamin Larsson April 24, 2013, 2:50 p.m. | #2
OK

Patch

diff --git a/libavcodec/vc1dec.c b/libavcodec/vc1dec.c
index ef65e32..04b7efb 100644
--- a/libavcodec/vc1dec.c
+++ b/libavcodec/vc1dec.c
@@ -331,7 +331,6 @@  static void vc1_smooth_overlap_filter_iblk(VC1Context *v)
 static void vc1_mc_1mv(VC1Context *v, int dir)
 {
     MpegEncContext *s = &v->s;
-    DSPContext *dsp   = &v->s.dsp;
     H264ChromaContext *h264chroma = &v->h264chroma;
     uint8_t *srcY, *srcU, *srcV;
     int dxy, mx, my, uvmx, uvmy, src_x, src_y, uvsrc_x, uvsrc_y;
@@ -1828,7 +1827,6 @@  static inline void vc1_pred_mv_intfr(VC1Context *v, int n, int dmv_x, int dmv_y,
 static void vc1_interp_mc(VC1Context *v)
 {
     MpegEncContext *s = &v->s;
-    DSPContext *dsp = &v->s.dsp;
     H264ChromaContext *h264chroma = &v->h264chroma;
     uint8_t *srcY, *srcU, *srcV;
     int dxy, mx, my, uvmx, uvmy, src_x, src_y, uvsrc_x, uvsrc_y;