projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23d0fdc
)
omadec: fix bitrate for ATRAC3+ streams
author
Maxim Poliakovski
<max_pole@gmx.de>
Sun, 29 Sep 2013 19:53:49 +0000
(21:53 +0200)
committer
Anton Khirnov
<anton@khirnov.net>
Sun, 29 Sep 2013 19:54:51 +0000
(21:54 +0200)
Signed-off-by: Anton Khirnov <anton@khirnov.net>
libavformat/omadec.c
patch
|
blob
|
history
diff --git
a/libavformat/omadec.c
b/libavformat/omadec.c
index e68071cf70a099c05bf8aa9f146158db69b5ac88..e5a20903b0d13a63b40c789f7f34ee01094a7e1b 100644
(file)
--- 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;