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

Baptiste Coudurier baptiste.coudurier
Wed Feb 18 18:59:48 CET 2009


On 2/18/2009 9:53 AM, Art Clarke wrote:
> On Wed, Feb 18, 2009 at 9:48 AM, Baptiste Coudurier <
> baptiste.coudurier at gmail.com> wrote:
> 
>> I confirm, the problem is caused by the use of bsymbolic
>> However it is difficult to fix it without breaking API last time I
>> tried, maybe I overlooked though.
> 
> 
> I think it's impossible to 'fix' without breaking the API; hence my
> suggestion of just adding a comment warning users.
> 
> However (see option 4 in my original e-mail), it might be a good idea to
> move av_destruct_packet_nofree to an internal-only method and deprecate it.
> It causes more trouble than it's probably worth externally, and setting
> destruct = 0 has (close to) the same effect.

"_nofree" sets "->data" and "->size" to 0 also. This might have side
effects.

-- 
Baptiste COUDURIER                              GnuPG Key Id: 0x5C1ABAAA
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
checking for life_signs in -lkenny... no
FFmpeg maintainer                                  http://www.ffmpeg.org




More information about the ffmpeg-devel mailing list