[FFmpeg-devel] AVFrac deprecated

Thorsten Jordan tjordan
Thu Dec 13 16:56:03 CET 2007


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

Regards, Thorsten

More information about the ffmpeg-devel mailing list