[FFmpeg-devel] [PATCH 2/3] vp9: remove unused assignment

Timothy Gu timothygu99 at gmail.com
Wed Jul 16 05:56:29 CEST 2014


Signed-off-by: Timothy Gu <timothygu99 at gmail.com>
---

Already OK'd by BBB on IRC:
19:04 <BBB> the first two seem correct
19:04 <BBB> yeah they’re all correct
19:05 <BBB> Timothy_Gu_: patch to remove these is fine

---
 libavcodec/vp9.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/libavcodec/vp9.c b/libavcodec/vp9.c
index 56975bd..96da823 100644
--- a/libavcodec/vp9.c
+++ b/libavcodec/vp9.c
@@ -2479,7 +2479,6 @@ static void intra_recon(AVCodecContext *ctx, ptrdiff_t y_off, ptrdiff_t uv_off)
     }
 
     // U/V
-    h4 >>= 1;
     w4 >>= 1;
     end_x >>= 1;
     end_y >>= 1;
@@ -2760,8 +2759,6 @@ static void inter_recon(AVCodecContext *ctx)
         }
 
         // uv itxfm add
-        h4 >>= 1;
-        w4 >>= 1;
         end_x >>= 1;
         end_y >>= 1;
         step = 1 << (b->uvtx * 2);
-- 
1.9.1



More information about the ffmpeg-devel mailing list