[Ffmpeg-devel] [PATCH] Add True Audio Seeking Support
Mike Melanson
mike
Fri Mar 30 23:59:10 CEST 2007
M?ns Rullg?rd wrote:
> Alex Beregszaszi <alex at rtfs.hu> writes:
>
>> Hi,
>>
>>>> --- libavformat/tta.c.orig 2007-03-30 22:41:59.000000000 +0900
>>>> +++ libavformat/tta.c 2007-03-30 22:54:45.000000000 +0900
>>>> @@ -21,8 +21,10 @@
>>>> #include "avformat.h"
>>>> #include "bitstream.h"
>>>>
>>>> +#define FRAME_TIME 1.04489795918367346939
>>> WTF is this? I think it deserves a comment at the least. I also
>>> suspect it ought really be a fraction.
>> Originally this was commented and was a define. Someone over the time
>> changed it.
>>
>> // FIXME: horribly broken, but directly from reference source
>> #define FRAME_TIME 1.04489795918367346939
>>
>> See:
>> http://lists.mplayerhq.hu/pipermail/ffmpeg-cvslog/2006-February/001594.html
>
> That's in lavc. The patch was for lavf.
>
> Anyhow, do you know what that value is supposed to be?
Somewhere between the 15th and 16th roots of 2. Don't know if that helps. :)
--
-Mike Melanson
More information about the ffmpeg-devel
mailing list