[Ffmpeg-cvslog] r8562 - trunk/libavformat/tta.c
michael
subversion
Fri Mar 30 23:59:52 CEST 2007
Author: michael
Date: Fri Mar 30 23:59:52 2007
New Revision: 8562
Modified:
trunk/libavformat/tta.c
Log:
10^10l to the idiot who designed this format and didnt even realize what number he used
Modified: trunk/libavformat/tta.c
==============================================================================
--- trunk/libavformat/tta.c (original)
+++ trunk/libavformat/tta.c Fri Mar 30 23:59:52 2007
@@ -64,7 +64,7 @@ static int tta_read_header(AVFormatConte
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;
More information about the ffmpeg-cvslog
mailing list