Re: [FFmpeg-devel] [PATCH 18/39] avcodec/motion_est, mpegvideo: Make pointers to static storage const

2020-12-10 Thread Michael Niedermayer
On Thu, Dec 10, 2020 at 12:16:36PM +0100, Andreas Rheinhardt wrote: > 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. > > Signed-off-by: Andreas Rheinhardt >

[FFmpeg-devel] [PATCH 18/39] avcodec/motion_est, mpegvideo: Make pointers to static storage const

2020-12-10 Thread Andreas Rheinhardt
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. Signed-off-by: Andreas Rheinhardt --- libavcodec/motion_est.c | 12 ++-- libavcodec/motion_est.h