From dc417a6e2fe1a84ea4d65c59a497369d63158e20 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 30 Mar 2007 21:59:52 +0000 Subject: 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 --- libavformat/tta.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/tta.c') 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; -- cgit v1.2.3