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:
30f1505
)
10^10l to the idiot who designed this format and didnt even realize what number he...
author
Michael Niedermayer
<michaelni@gmx.at>
Fri, 30 Mar 2007 21:59:52 +0000
(21:59 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Fri, 30 Mar 2007 21:59:52 +0000
(21:59 +0000)
Originally committed as revision 8562 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/tta.c
patch
|
blob
|
history
diff --git
a/libavformat/tta.c
b/libavformat/tta.c
index a513d9d3877209cb4781a58be746f10a190bf5d1..8610ce849bd06716c4312eb20a76f565b6616ee4 100644
(file)
--- a/
libavformat/tta.c
+++ b/
libavformat/tta.c
@@
-64,7
+64,7
@@
static int tta_read_header(AVFormatContext *s, AVFormatParameters *ap)
url_fskip(&s->pb, 4); // header crc
- framelen =
1.04489795918367346939 * samplerate
;
+ framelen =
samplerate*256/245
;
c->totalframes = datalen / framelen + ((datalen % framelen) ? 1 : 0);
c->currentframe = 0;