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

Michael Niedermayer michaelni at gmx.at
Fri Apr 27 16:25:34 CEST 2012


On Fri, Apr 27, 2012 at 03:25:10PM +0200, Nicolas George wrote:
> putenv() seems to be more portable.
> 
> Signed-off-by: Nicolas George <nicolas.george at normalesup.org>
> ---
>  libavutil/parseutils.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> 
> The cast is necessary to avoid a warning, since putenv's argument is not
> const.

LGTM

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

Good people do not need laws to tell them to act responsibly, while bad
people will find a way around the laws. -- Plato
-------------- 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/0a8448f6/attachment.asc>


More information about the ffmpeg-devel mailing list