[FFmpeg-cvslog] r9596 - in trunk: configure libavcodec/utils.c
Ramiro Ribeiro Polla
ramiro
Wed Jul 11 19:30:08 CEST 2007
Attila Kinali wrote:
> On Wed, 11 Jul 2007 17:45:58 +0200
> Attila Kinali <attila at kinali.ch> wrote:
>
>
>> On Wed, 11 Jul 2007 12:27:43 -0300
>> Ramiro Ribeiro Polla <ramiro at lisha.ufsc.br> wrote:
>>
>>
>>> Now that I thought more about it, you need to reconfigure. Did you
>>> re-run configure?
>>>
>> Oh.. missed the change in configure.
>> Works fine if i run ffmpegs configure, fails if i run mplayers :-)
>>
>
> On second thought, this have to work even if mkstemp isn't available.
> (yes, the patch fixes it)
>
> BTW: have you read the notes in the manpage?
>
> ---
> NOTES
> The prototype is in <unistd.h> for libc4, libc5, glibc1; glibc2 follows
> the Single Unix Specification and has the prototype in <stdlib.h>.
>
> Don't use this function, use tmpfile(3) instead. It is better defined
> and more portable.
> ---
>
>
No, I hadn't. I did this on Ubuntu, which doesn't have manpages by
default. Found out how to install them now.
That functions seems better, since it also exists on mingw. I just
didn't find a way to test av_tempfile yet... Alex suggested it might be
removed entirely.
Ramiro Polla
More information about the ffmpeg-cvslog
mailing list