diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2007-03-30 21:59:52 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2007-03-30 21:59:52 +0000 |
commit | dc417a6e2fe1a84ea4d65c59a497369d63158e20 (patch) | |
tree | 9e14d8a506283e4d5a47c7ab7d5baa1f575de6a3 /libavformat/tta.c | |
parent | 30f1505380ae7f9a62370d7f2e5c81443ce10d99 (diff) | |
download | ffmpeg-dc417a6e2fe1a84ea4d65c59a497369d63158e20.tar.gz |
10^10l to the idiot who designed this format and didnt even realize what number he used
Originally committed as revision 8562 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/tta.c')
-rw-r--r-- | libavformat/tta.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/tta.c b/libavformat/tta.c index a513d9d387..8610ce849b 100644 --- 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; |