[FFmpeg-devel] [RFC] Windows issues with av_destruct_packet_nofree

Michael Niedermayer michaelni
Thu Feb 19 17:08:53 CET 2009


On Thu, Feb 19, 2009 at 07:57:47AM -0800, Art Clarke wrote:
[...]
> As Mans' pointed out, comparing function pointer across shared-object
> boundaries is undefined.  It turns out to work fine for Linux and Mac OS's,
> but on Windows, our copy of "av_destruct_packet_nofree" is actually a stub
> pointing to the method in AVFORMAT.DLL, and inside libavutils/utils.c:316
> av_dup_packet, the following code then return false when we expected true:

what mans meant i think was that it is perfectly well defined and some things
are broken and violate the C standard

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

There will always be a question for which you do not know the correct awnser.
-------------- 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/20090219/8baee6ef/attachment.pgp>



More information about the ffmpeg-devel mailing list