1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

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
This commit is contained in:
Michael Niedermayer 2007-03-30 21:59:52 +00:00
parent 30f1505380
commit dc417a6e2f

View File

@ -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;