Re: [FFmpeg-devel] [PATCH] avcodec/sbcdec: Remove always-false check

2022-10-03 Thread Andreas Rheinhardt
Andreas Rheinhardt: > We never guard against a user freeing/stealing the private context; > and returning AVERROR(EIO) is inappropriate. > > Signed-off-by: Andreas Rheinhardt > --- > libavcodec/sbcdec.c | 3 --- > 1 file changed, 3 deletions(-) > > diff --git a/libavcodec/sbcdec.c b/libavcodec/

[FFmpeg-devel] [PATCH] avcodec/sbcdec: Remove always-false check

2022-10-01 Thread Andreas Rheinhardt
We never guard against a user freeing/stealing the private context; and returning AVERROR(EIO) is inappropriate. Signed-off-by: Andreas Rheinhardt --- libavcodec/sbcdec.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/libavcodec/sbcdec.c b/libavcodec/sbcdec.c index 3fac2f5016..fd7c2e5e80