[FFmpeg-cvslog] dsputil: remove some never-assigned function pointers from the struct.

Ronald S. Bultje git at videolan.org
Wed Jan 23 18:05:13 CET 2013


ffmpeg | branch: master | Ronald S. Bultje <rsbultje at gmail.com> | Mon Jan 21 18:51:52 2013 -0800| [2bef1a83d7a3ca60b161ab90bf4d4338e5def5e7] | committer: Ronald S. Bultje

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

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=2bef1a83d7a3ca60b161ab90bf4d4338e5def5e7
---

 libavcodec/dsputil.h |    5 ++---
 1 file 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 ffmpeg-cvslog mailing list