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

Måns Rullgård mans
Fri Mar 30 23:51:37 CEST 2007


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?

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




More information about the ffmpeg-devel mailing list