]> git.sesse.net Git - ffmpeg/commit
avcodec/motion_est, mpegvideo: Make pointers to static storage const
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Wed, 9 Dec 2020 03:16:48 +0000 (04:16 +0100)
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Thu, 31 Dec 2020 11:44:12 +0000 (12:44 +0100)
commit4a160cbef41687f0251320cbc320c2a5d9791bc7
treed7c8108b1bea91362ec87458a515ce0a9281b3e2
parenteea2638e9af9e65198d7002db5c3bd5a14b04bfc
avcodec/motion_est, mpegvideo: Make pointers to static storage const

Modifying static storage must not happen because of multithreading
(except initialization of course), so add const to the pointed-to type
for pointers that point to static storage.

Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
libavcodec/motion_est.c
libavcodec/motion_est.h
libavcodec/motion_est_template.c
libavcodec/mpegvideo.h