Commit 84ae6c55 authored by michael's avatar michael

10^10l to the idiot who designed this format and didnt even realize what number he used


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@8562 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent de557aa8
...@@ -64,7 +64,7 @@ static int tta_read_header(AVFormatContext *s, AVFormatParameters *ap) ...@@ -64,7 +64,7 @@ static int tta_read_header(AVFormatContext *s, AVFormatParameters *ap)
url_fskip(&s->pb, 4); // header crc url_fskip(&s->pb, 4); // header crc
framelen = 1.04489795918367346939 * samplerate; framelen = samplerate*256/245;
c->totalframes = datalen / framelen + ((datalen % framelen) ? 1 : 0); c->totalframes = datalen / framelen + ((datalen % framelen) ? 1 : 0);
c->currentframe = 0; c->currentframe = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment