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

Måns Rullgård mans
Thu Feb 19 17:14:53 CET 2009

Michael Niedermayer <michaelni at gmx.at> writes:

> 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

Yes, that is what I meant.  I am also in favour of a restraining order
on Ulrich Drepper.

M?ns Rullg?rd
mans at mansr.com

More information about the ffmpeg-devel mailing list