[Ffmpeg-devel] [PATCH] Add True Audio Seeking Support

Måns Rullgård mans
Sat Mar 31 00:01:17 CEST 2007


Mike Melanson <mike at multimedia.cx> writes:

> 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. :)

Is that the design of the thing?  Is this the Intercal of multimedia
formats or something?

-- 
M?ns Rullg?rd
mans at mansr.com




More information about the ffmpeg-devel mailing list