aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/apm.c
diff options
context:
space:
mode:
authorZane van Iperen <zane@zanevaniperen.com>2021-07-18 10:41:21 +1000
committerZane van Iperen <zane@zanevaniperen.com>2021-07-19 10:47:25 +1000
commit5362fa2b75efdefee9c88ce5383f5016944a54b6 (patch)
tree0b994d6bf59f86e3511294c2da10478fbb39b5f0 /libavformat/apm.c
parent0c538ce30de6141ae233ba5485523ab5b6235e1a (diff)
downloadffmpeg-5362fa2b75efdefee9c88ce5383f5016944a54b6.tar.gz
avformat/apm: don't set bits_per_raw_sample
Signed-off-by: Zane van Iperen <zane@zanevaniperen.com>
Diffstat (limited to 'libavformat/apm.c')
-rw-r--r--libavformat/apm.c1
1 files changed, 0 insertions, 1 deletions
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;