diff mbox series

[FFmpeg-devel,6/8] avformat/apm: don't set bits_per_raw_sample

Message ID 20210718012204.97733-6-zane@zanevaniperen.com
State Accepted
Commit 5362fa2b75efdefee9c88ce5383f5016944a54b6
Headers show
Series [FFmpeg-devel,1/8] avcodec/argo: use pixel format provided by the demuxer
Related show

Checks

Context Check Description
andriy/x86_make success Make finished
andriy/x86_make_fate success Make fate finished
andriy/PPC64_make success Make finished
andriy/PPC64_make_fate success Make fate finished

Commit Message

Zane van Iperen July 18, 2021, 1:22 a.m. UTC
Signed-off-by: Zane van Iperen <zane@zanevaniperen.com>
---
 libavformat/apm.c | 1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

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;