summaryrefslogtreecommitdiff
path: root/libavformat/omadec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-09-30 02:20:49 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-09-30 02:21:41 +0200
commit5c7d86cbde71c3db566194096300ce052e026c38 (patch)
treee71cfb21bace972c55302302fd12472a5e269c57 /libavformat/omadec.c
parent7a28a9f68e88f066ede77dc13a517c3c545d2a92 (diff)
parent487b54104a01fa40a185a9a51e1cf41b2cf72367 (diff)
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.c2
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;