diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-01-27 22:59:19 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-02-13 15:25:41 +0100 |
commit | b81a29d1809ca663eadd0238373ea9091cb6f880 (patch) | |
tree | b405a9ba3b0415a9dabc42686c00ef28cc2ade6f | |
parent | e911f5546f6d490a8c81841611835d9006d239e5 (diff) | |
download | ffmpeg-b81a29d1809ca663eadd0238373ea9091cb6f880.tar.gz |
avcodec/idctdsp: Constify the permutation parameter of ff_init_scantable
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-rw-r--r-- | libavcodec/idctdsp.c | 2 | ||||
-rw-r--r-- | libavcodec/idctdsp.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/idctdsp.c b/libavcodec/idctdsp.c index 71bd03c606..d07dc29207 100644 --- a/libavcodec/idctdsp.c +++ b/libavcodec/idctdsp.c @@ -26,7 +26,7 @@ #include "simple_idct.h" #include "xvididct.h" -av_cold void ff_init_scantable(uint8_t *permutation, ScanTable *st, +av_cold void ff_init_scantable(const uint8_t *permutation, ScanTable *st, const uint8_t *src_scantable) { int i, end; diff --git a/libavcodec/idctdsp.h b/libavcodec/idctdsp.h index 014488aec3..e8f20acaf2 100644 --- a/libavcodec/idctdsp.h +++ b/libavcodec/idctdsp.h @@ -43,7 +43,7 @@ enum idct_permutation_type { FF_IDCT_PERM_SSE2, }; -void ff_init_scantable(uint8_t *permutation, ScanTable *st, +void ff_init_scantable(const uint8_t *permutation, ScanTable *st, const uint8_t *src_scantable); void ff_init_scantable_permutation(uint8_t *idct_permutation, enum idct_permutation_type perm_type); |