[libav-commits] dsputil: remove some never-assigned function pointers from the struct.

Ronald S. Bultje git at libav.org
Wed Jan 23 04:52:47 CET 2013


Module: libav
Branch: master
Commit: 2bef1a83d7a3ca60b161ab90bf4d4338e5def5e7

Author:    Ronald S. Bultje <rsbultje at gmail.com>
Committer: Ronald S. Bultje <rsbultje at gmail.com>
Date:      Mon Jan 21 18:51:52 2013 -0800

dsputil: remove some never-assigned function pointers from the struct.

---

 libavcodec/dsputil.h |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/libavcodec/dsputil.h b/libavcodec/dsputil.h
index e069ea1..f691961 100644
--- a/libavcodec/dsputil.h
+++ b/libavcodec/dsputil.h
@@ -276,7 +276,7 @@ typedef struct DSPContext {
      * @param line_size number of bytes in a horizontal line of block
      * @param h height
      */
-    op_pixels_func put_no_rnd_pixels_tab[4][4];
+    op_pixels_func put_no_rnd_pixels_tab[2][4];
 
     /**
      * Halfpel motion compensation with no rounding (a+b)>>1.
@@ -306,7 +306,6 @@ typedef struct DSPContext {
     qpel_mc_func put_qpel_pixels_tab[2][16];
     qpel_mc_func avg_qpel_pixels_tab[2][16];
     qpel_mc_func put_no_rnd_qpel_pixels_tab[2][16];
-    qpel_mc_func avg_no_rnd_qpel_pixels_tab[2][16];
     qpel_mc_func put_mspel_pixels_tab[8];
 
     /**
@@ -316,7 +315,7 @@ typedef struct DSPContext {
     h264_chroma_mc_func avg_h264_chroma_pixels_tab[3];
 
     qpel_mc_func put_h264_qpel_pixels_tab[4][16];
-    qpel_mc_func avg_h264_qpel_pixels_tab[4][16];
+    qpel_mc_func avg_h264_qpel_pixels_tab[3][16];
 
     me_cmp_func pix_abs[2][4];
 



More information about the libav-commits mailing list