[FFmpeg-cvslog] avcodec/idctdsp: Constify the permutation parameter of ff_init_scantable
Andreas Rheinhardt
git at videolan.org
Sun Feb 13 21:25:22 EET 2022
ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Thu Jan 27 22:59:19 2022 +0100| [b81a29d1809ca663eadd0238373ea9091cb6f880] | committer: Andreas Rheinhardt
avcodec/idctdsp: Constify the permutation parameter of ff_init_scantable
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b81a29d1809ca663eadd0238373ea9091cb6f880
---
libavcodec/idctdsp.c | 2 +-
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);
More information about the ffmpeg-cvslog
mailing list