[FFmpeg-devel] AVFrac deprecated

Michael Niedermayer michaelni
Thu Dec 13 22:44:40 CET 2007

On Thu, Dec 13, 2007 at 04:56:03PM +0100, Thorsten Jordan wrote:
> Hello,
> AVFrac is listed as deprecated in avformat.h with the additional comment
> that one should use rather AVRational. However AVRational has limited
> range using only int's, whereas AVFrac.val can hold much bigger numbers,
> which is needed for timestamp generation when writing e.g. .MP4 containers.
> What's the point with that comment to use AVRational?
> Should it rather be replaced by int64_t base and AVRational extension (f
> = base + AVRational) - but it would be very similar to current AVFrac
> define.

the idea was to replace int64_t + rational by int64 * AVRational 
but there are problems with this so maybe the deprecated should simply
be removed

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I have never wished to cater to the crowd; for what I know they do not
approve, and what they approve I do not know. -- Epicurus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20071213/faef7873/attachment.pgp>

More information about the ffmpeg-devel mailing list