diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-07-26 08:36:11 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-07-31 03:56:32 +0200 |
commit | 34276b815b7eddffdd0713569e4b8009c923b029 (patch) | |
tree | 461e403042465335afcfe5d0b5924a85bde4f2bc /libavcodec/motion_est.h | |
parent | 209a11053f3249e1f5f36a6a74089df92181d25a (diff) |
avcodec/motion_est: Constify pointers to frame data
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/motion_est.h')
-rw-r--r-- | libavcodec/motion_est.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/motion_est.h b/libavcodec/motion_est.h index d0950bf7e6..292bdc70e9 100644 --- a/libavcodec/motion_est.h +++ b/libavcodec/motion_est.h @@ -77,8 +77,8 @@ typedef struct MotionEstContext { int ymax; int pred_x; int pred_y; - uint8_t *src[4][4]; - uint8_t *ref[4][4]; + const uint8_t *src[4][4]; + const uint8_t *ref[4][4]; int stride; int uvstride; /* temp variables for picture complexity calculation */ |