[FFmpeg-devel] [PATCH 18/35] lavc/libvpxenc: remove unneeded context variable

James Zern jzern at google.com
Wed Jan 12 20:15:23 EET 2022


On Tue, Jan 11, 2022 at 12:49 PM Anton Khirnov <anton at khirnov.net> wrote:
>
> discard_hdr10_plus is 0 IFF hdr10_plus_fifo is non-NULL, so we can test
> for the latter and avoid an extra variable.
> ---
>  libavcodec/libvpxenc.c | 7 ++-----
>  1 file changed, 2 insertions(+), 5 deletions(-)
>

lgtm.


More information about the ffmpeg-devel mailing list