Re: [FFmpeg-devel] [PATCH 1/2] avcodec/ac3enc_template: Avoid always-true check

2024-05-19 Thread Andreas Rheinhardt
Andreas Rheinhardt: > This might also help Coverity with issue #1596532. > > Signed-off-by: Andreas Rheinhardt > --- > libavcodec/ac3enc_template.c | 11 +++ > 1 file changed, 7 insertions(+), 4 deletions(-) > > diff --git a/libavcodec/ac3enc_template.c b/libavcodec/ac3enc_template.c >

[FFmpeg-devel] [PATCH 1/2] avcodec/ac3enc_template: Avoid always-true check

2024-05-17 Thread Andreas Rheinhardt
This might also help Coverity with issue #1596532. Signed-off-by: Andreas Rheinhardt --- libavcodec/ac3enc_template.c | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/libavcodec/ac3enc_template.c b/libavcodec/ac3enc_template.c index 49fc6d7f37..049666fdca 100644 --