[FFmpeg-devel] [PATCH 24/25] avfilter/af_headphone: Remove pointless additions

Paul B Mahol onemda at gmail.com
Wed Sep 9 04:33:35 EEST 2020


On Tue, Sep 08, 2020 at 11:18:55PM +0200, Andreas Rheinhardt wrote:
> buffer_length is a power-of-two and modulo is buffer_length - 1, so that
> buffer_length & modulo is zero.
> 
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
> ---
>  libavfilter/af_headphone.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

fine


More information about the ffmpeg-devel mailing list