]> git.sesse.net Git - ffmpeg/commit
avcodec/magicyuvenc: Use more correct cast in compare function
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Thu, 8 Oct 2020 19:14:28 +0000 (21:14 +0200)
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Thu, 8 Oct 2020 23:17:02 +0000 (01:17 +0200)
commit32f0a000fdec70f55cdb702eface1ded8f658a00
tree4718204edab8cc304e128faad07dfae8c35e82a5
parent17b003a9e29257a48b6b1bbf0e67a0416fcedbb3
avcodec/magicyuvenc: Use more correct cast in compare function

There is no need to cast const away (even if it was harmless) and to
copy the object at all.

Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
libavcodec/magicyuvenc.c