[FFmpeg-devel] [PATCH] avutil/mem: add av_memdup()

Michael Niedermayer michaelni at gmx.at
Thu May 2 13:43:12 CEST 2013

On Wed, May 01, 2013 at 08:25:28AM +0200, Nicolas George wrote:
> Le primidi 11 floréal, an CCXXI, Michael Niedermayer a écrit :
> > the cases where i want to use this copy a structure and then
> > duplicate fields that where allocated so the whole struct becomes a
> > clone.
> > code that leaves dst in case of failure as well as code to free
> > it are quite inconvenient for that (both would need to be worked
> > around)
> That makes sense. No objection from me.

patch applied



Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The educated differ from the uneducated as much as the living from the
dead. -- Aristotle 
-------------- 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/20130502/95943732/attachment.asc>

More information about the ffmpeg-devel mailing list