[FFmpeg-devel] [PATCH] ffprobe: replace av_destruct_packet() with av_free_packet()

Michael Niedermayer michaelni at gmx.at
Thu Jan 12 01:33:23 CET 2012


On Thu, Jan 12, 2012 at 12:39:27AM +0100, Stefano Sabatini wrote:
> av_destruct_packet() always frees the packet data even when the demuxer
> is going to re-use it, thus causing crashes when decoding audio
> frames (as implemented in a pending patch).
> 
> av_free_packet() is used instead, as it allows each demuxer to set the
> right packet data releasing mechanism through the pkt->destruct callback.

LGTM, thanks

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

I know you won't believe me, but the highest form of Human Excellence is
to question oneself and others. -- Socrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120112/9773c833/attachment.asc>


More information about the ffmpeg-devel mailing list