[FFmpeg-devel] [PATCH] pkt_pts reordering

Luca Barbato lu_zero
Mon Jan 10 17:57:55 CET 2011

On 01/10/2011 05:29 PM, Jean-Daniel Dupas wrote:
> Le 10 janv. 2011 ? 17:13, Luca Barbato a ?crit :
>> On 01/10/2011 05:01 PM, Vladimir Pantelic wrote:
>>> since the actual reordering of timestamps has shifted to pkt_pts,
>>> we can use the existing reordered_opaque just as it is and maybe
>>> convert it to void*...
>> The union has the added bonus of being big enough to fit more than a
>> void * alone.
> Don't rely on this, it may not be true on 64 bit plateforms.

You want to have at least 64bit so an union gives you that.

Being able to store a pointer or a double safely is the key point. (e.g.
80bit float)



Luca Barbato

More information about the ffmpeg-devel mailing list