Re: [FFmpeg-devel] [PATCH 37/39] avcodec/mpegvideo_motion: Constify ff_mpv_motion

2022-07-28 Thread Michael Niedermayer
On Wed, Jul 27, 2022 at 12:08:12AM +0200, Andreas Rheinhardt wrote: > Also constify the corresponding code in mpegvideo.c that handles > lowres. > (Unfortunately, not everything that is const could be constified: > ref_picture could be made const uint8_t* const* if C allowed the > safe automatic co

[FFmpeg-devel] [PATCH 37/39] avcodec/mpegvideo_motion: Constify ff_mpv_motion

2022-07-27 Thread Andreas Rheinhardt
Also constify the corresponding code in mpegvideo.c that handles lowres. (Unfortunately, not everything that is const could be constified: ref_picture could be made const uint8_t* const* if C allowed the safe automatic conversion from uint8_t**; and pix_op, qpix_op could be made to point to const f