From 5362fa2b75efdefee9c88ce5383f5016944a54b6 Mon Sep 17 00:00:00 2001 From: Zane van Iperen Date: Sun, 18 Jul 2021 10:41:21 +1000 Subject: avformat/apm: don't set bits_per_raw_sample Signed-off-by: Zane van Iperen --- libavformat/apm.c | 1 - 1 file changed, 1 deletion(-) (limited to 'libavformat') diff --git a/libavformat/apm.c b/libavformat/apm.c index 6ae53b8712..6a047c5095 100644 --- a/libavformat/apm.c +++ b/libavformat/apm.c @@ -146,7 +146,6 @@ static int apm_read_header(AVFormatContext *s) par->codec_type = AVMEDIA_TYPE_AUDIO; par->codec_id = AV_CODEC_ID_ADPCM_IMA_APM; par->format = AV_SAMPLE_FMT_S16; - par->bits_per_raw_sample = 16; par->bit_rate = par->channels * par->sample_rate * par->bits_per_coded_sample; -- cgit v1.2.3