[FFmpeg-cvslog] avformat/apm: don't set bits_per_raw_sample

Zane van Iperen git at videolan.org
Mon Jul 19 07:16:43 EEST 2021


ffmpeg | branch: master | Zane van Iperen <zane at zanevaniperen.com> | Sun Jul 18 10:41:21 2021 +1000| [5362fa2b75efdefee9c88ce5383f5016944a54b6] | committer: Zane van Iperen

avformat/apm: don't set bits_per_raw_sample

Signed-off-by: Zane van Iperen <zane at zanevaniperen.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5362fa2b75efdefee9c88ce5383f5016944a54b6
---

 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;



More information about the ffmpeg-cvslog mailing list