[FFmpeg-devel] [PATCH 4/4] avcodec/magicyuvenc: Use more correct cast in compare function

Paul B Mahol onemda at gmail.com
Thu Oct 8 23:02:58 EEST 2020


On Thu, Oct 08, 2020 at 09:18:42PM +0200, Andreas Rheinhardt wrote:
> There is no need to cast const away (even if it was harmless) and to
> copy the object at all.
> 
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
> ---
>  libavcodec/magicyuvenc.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)

lgtm


More information about the ffmpeg-devel mailing list