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

Peter Ross pross at xvid.org
Sat Jul 27 14:17:01 EEST 2024


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.

-- Peter
(A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)
-------------- 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/20240727/e28f55af/attachment.sig>


More information about the ffmpeg-devel mailing list