Skip to content

Commit

Permalink
avformat/apm: don't set bits_per_raw_sample
Browse files Browse the repository at this point in the history
Signed-off-by: Zane van Iperen <[email protected]>
  • Loading branch information
vs49688 committed Jul 19, 2021
1 parent 0c538ce commit 5362fa2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion libavformat/apm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 5362fa2

Please sign in to comment.