diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-01-31 01:03:04 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-02-13 19:49:29 +0100 |
commit | 8b856a9e535de06df96588fb566b8d629e128580 (patch) | |
tree | f6c36863df426c0df98ace61badbf03c96cdc96c /libavcodec/motion_est.c | |
parent | 32ce3b71688aa797d9795e7aa0427df02a0da189 (diff) |
avcodec/motion_est: Constify mv-table parameters where possible
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/motion_est.c')
-rw-r--r-- | libavcodec/motion_est.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/motion_est.c b/libavcodec/motion_est.c index a191fd06ba..87f197ce8d 100644 --- a/libavcodec/motion_est.c +++ b/libavcodec/motion_est.c @@ -1594,7 +1594,7 @@ void ff_estimate_b_frame_motion(MpegEncContext * s, } /* find best f_code for ME which do unlimited searches */ -int ff_get_best_fcode(MpegEncContext * s, int16_t (*mv_table)[2], int type) +int ff_get_best_fcode(MpegEncContext * s, const int16_t (*mv_table)[2], int type) { if (s->motion_est != FF_ME_ZERO) { int score[8]; |