[FFmpeg-cvslog] omadec: fix bitrate for ATRAC3+ streams
Maxim Poliakovski
git at videolan.org
Mon Sep 30 02:34:08 CEST 2013
ffmpeg | branch: master | Maxim Poliakovski <max_pole at gmx.de> | Sun Sep 29 21:53:49 2013 +0200| [487b54104a01fa40a185a9a51e1cf41b2cf72367] | committer: Anton Khirnov
omadec: fix bitrate for ATRAC3+ streams
Signed-off-by: Anton Khirnov <anton at khirnov.net>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=487b54104a01fa40a185a9a51e1cf41b2cf72367
---
libavformat/omadec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/omadec.c b/libavformat/omadec.c
index e68071c..e5a2090 100644
--- a/libavformat/omadec.c
+++ b/libavformat/omadec.c
@@ -379,7 +379,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;
More information about the ffmpeg-cvslog
mailing list