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

Zane van Iperen zane at zanevaniperen.com
Sun Jul 18 04:22:02 EEST 2021


Signed-off-by: Zane van Iperen <zane at zanevaniperen.com>
---
 libavformat/apm.c | 1 -
 1 file changed, 1 deletion(-)

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;
-- 
2.31.1



More information about the ffmpeg-devel mailing list