[FFmpeg-devel] [PATCH 3/3] avcodec/adpcm: Remove setting min_channel to value it is already set to

Michael Niedermayer michael at niedermayer.cc
Sun Jul 28 01:00:13 EEST 2024


On Sat, Jul 27, 2024 at 09:17:01PM +1000, Peter Ross wrote:
> On Fri, Jul 26, 2024 at 11:08:32PM +0200, Michael Niedermayer wrote:
> > Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> > ---
> >  libavcodec/adpcm.c | 4 ----
> >  1 file changed, 4 deletions(-)
> > 
> > diff --git a/libavcodec/adpcm.c b/libavcodec/adpcm.c
> > index 8f9a8a8c8e2..6c53d0bcf39 100644
> > --- a/libavcodec/adpcm.c
> > +++ b/libavcodec/adpcm.c
> > @@ -260,10 +260,6 @@ static av_cold int adpcm_decode_init(AVCodecContext * avctx)
> >      case AV_CODEC_ID_ADPCM_IMA_AMV:
> >          max_channels = 1;
> >          break;
> > -    case AV_CODEC_ID_ADPCM_DTK:
> > -    case AV_CODEC_ID_ADPCM_EA:
> > -        min_channels = 1;
> > -        break;
> >      case AV_CODEC_ID_ADPCM_AFC:
> >      case AV_CODEC_ID_ADPCM_EA_R1:
> >      case AV_CODEC_ID_ADPCM_EA_R2:
> > -- 
> > 2.45.2
> 
> please apply.

will apply

thx

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Good people do not need laws to tell them to act responsibly, while bad
people will find a way around the laws. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20240728/419204ca/attachment.sig>


More information about the ffmpeg-devel mailing list