diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-09-30 02:20:49 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-09-30 02:21:41 +0200 |
commit | 5c7d86cbde71c3db566194096300ce052e026c38 (patch) | |
tree | e71cfb21bace972c55302302fd12472a5e269c57 /libavformat/omadec.c | |
parent | 7a28a9f68e88f066ede77dc13a517c3c545d2a92 (diff) | |
parent | 487b54104a01fa40a185a9a51e1cf41b2cf72367 (diff) | |
download | ffmpeg-5c7d86cbde71c3db566194096300ce052e026c38.tar.gz |
Merge remote-tracking branch 'qatar/master'
* qatar/master:
omadec: fix bitrate for ATRAC3+ streams
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/omadec.c')
-rw-r--r-- | libavformat/omadec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/omadec.c b/libavformat/omadec.c index 3f96edecf6..e4291d9b55 100644 --- a/libavformat/omadec.c +++ b/libavformat/omadec.c @@ -380,7 +380,7 @@ static int oma_read_header(AVFormatContext *s) return AVERROR_INVALIDDATA; } st->codec->sample_rate = samplerate; - st->codec->bit_rate = samplerate * framesize * 8 / 1024; + st->codec->bit_rate = samplerate * framesize * 8 / 2048; avpriv_set_pts_info(st, 64, 1, samplerate); av_log(s, AV_LOG_ERROR, "Unsupported codec ATRAC3+!\n"); break; |