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

2022-01-12 Thread James Zern
On Tue, Jan 11, 2022 at 12:49 PM Anton Khirnov 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. __

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

2022-01-11 Thread Anton Khirnov
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(-) diff --git a/libavcodec/libvpxenc.c b/libavcodec/libvpxenc.c index 55f587c490..6bb19289ff 100