diff options
author | Paul B Mahol <onemda@gmail.com> | 2023-10-02 01:07:52 +0200 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2023-10-02 01:28:14 +0200 |
commit | 9e531370b3da27aa72703b9bb40cdd697e88607e (patch) | |
tree | a2c6df21106aa9bde72afe00bae9494da1f16a19 /libavformat | |
parent | edb6d6d5361ad6c58af32d3c1ba9a6569988380d (diff) | |
download | ffmpeg-9e531370b3da27aa72703b9bb40cdd697e88607e.tar.gz |
avformat/aea: fix bitrate for mono
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/aea.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/aea.c b/libavformat/aea.c index 684217a2a3..52e3147729 100644 --- a/libavformat/aea.c +++ b/libavformat/aea.c @@ -71,7 +71,7 @@ static int aea_read_header(AVFormatContext *s) st->codecpar->codec_type = AVMEDIA_TYPE_AUDIO; st->codecpar->codec_id = AV_CODEC_ID_ATRAC1; st->codecpar->sample_rate = 44100; - st->codecpar->bit_rate = 292000; + st->codecpar->bit_rate = 146000 * channels; if (channels != 1 && channels != 2) { av_log(s, AV_LOG_ERROR, "Channels %d not supported!\n", channels); |