[FFmpeg-devel] [PATCH] parseutils: replace setenv() by putenv().

Nicolas George nicolas.george at normalesup.org
Fri Apr 27 17:34:21 CEST 2012


Le nonidi 9 floréal, an CCXX, Reimar Döffinger a écrit :
> It probably doesn't matter much in reality, but the reason for that is
> that the string is directly integrated into the environment and that
> consists of modifiable strings.
> So it isn't really correct to pass a string constant I believe.

I see. Do you want me to change it to use av_strdup or is it ok to assume
that the libc functions will not try to alter the content of the string?

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/20120427/9a79fc2e/attachment.asc>


More information about the ffmpeg-devel mailing list