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

Nicolas George nicolas.george at normalesup.org
Wed May 1 08:25:28 CEST 2013


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.

Regards,

-- 
  Nicolas George
-------------- 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/20130501/d0522ce0/attachment.asc>


More information about the ffmpeg-devel mailing list