]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/bit_depth_template.c
lcl: Disentangle pointers to input data and decompression buffer
[ffmpeg] / libavcodec / bit_depth_template.c
index 8fc826b7d2e18576e115fe2a4848f017fbc97294..27e658ba75fffc4f2a36df292eb407390703eaf0 100644 (file)
@@ -16,6 +16,7 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+#include "mathops.h"
 #include "rnd_avg.h"
 
 #ifndef BIT_DEPTH
@@ -70,7 +71,7 @@
 #   define pixel4 uint32_t
 #   define dctcoef int16_t
 
-#   define INIT_CLIP const uint8_t *cm = ff_cropTbl + MAX_NEG_CROP;
+#   define INIT_CLIP const uint8_t *cm = ff_crop_tab + MAX_NEG_CROP;
 #   define no_rnd_avg_pixel4 no_rnd_avg32
 #   define    rnd_avg_pixel4    rnd_avg32
 #   define AV_RN2P  AV_RN16