diff options
author | Diego Biurrun <diego@biurrun.de> | 2016-03-24 11:16:53 +0100 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2016-03-25 15:23:56 +0100 |
commit | f4d581cda3897f66c1dda7586b93f86a591dbbef (patch) | |
tree | 2b0ffc804d914fe27b7324f7e21487476df13bda /libavcodec/svq3.c | |
parent | 02cd8bb9cb4381c50f42a9284098cc8a33d397db (diff) | |
download | ffmpeg-f4d581cda3897f66c1dda7586b93f86a591dbbef.tar.gz |
lavc: Deduplicate zigzag_scan table
Diffstat (limited to 'libavcodec/svq3.c')
-rw-r--r-- | libavcodec/svq3.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libavcodec/svq3.c b/libavcodec/svq3.c index 90b20af72f..5208317afa 100644 --- a/libavcodec/svq3.c +++ b/libavcodec/svq3.c @@ -53,6 +53,7 @@ #include "h264_mvpred.h" #include "golomb.h" #include "hpeldsp.h" +#include "mathops.h" #include "rectangle.h" #include "tpeldsp.h" @@ -239,8 +240,9 @@ void ff_svq3_add_idct_c(uint8_t *dst, int16_t *block, static inline int svq3_decode_block(GetBitContext *gb, int16_t *block, int index, const int type) { - static const uint8_t *const scan_patterns[4] = - { luma_dc_zigzag_scan, zigzag_scan, svq3_scan, chroma_dc_scan }; + static const uint8_t *const scan_patterns[4] = { + luma_dc_zigzag_scan, ff_zigzag_scan, svq3_scan, chroma_dc_scan + }; int run, level, limit; unsigned vlc; |