[Ffmpeg-devel] [PATCH] mingw and temorary files

Corey Hickey bugfood-ml
Sun Mar 26 21:58:18 CEST 2006


Michael Niedermayer wrote:
> Hi
> 
> On Sat, Mar 25, 2006 at 06:20:25PM +0000, M?ns Rullg?rd wrote:
>> Michael Niedermayer <michaelni at gmx.at> writes:
>>
>>>>>>>  +int av_tempfile(char *prefix, char **filename);
>>>>>>> +
>>>>>> avcodec.h is a public header, IMHO this isnt the correct spot for it
>>>>> I was wondering about that, but then I thought it could theoretically
>>>>> be useful to a calling program. I don't know anything about such
>>>>> stuff, though, so I definitely don't mind putting the prototype
>>>>> somewhere else if you prefer. Which header file should I use? I don't
>>>>> know where things like that go.
>>>> It certainly shouldn't go in avcodec.h, since it has nothing to do
>>>> with codecs.  I'd say such things belong in libavutil and it's header
>>>> files.
>>> i disagree, libavutil should stay small, and this is a almost
>>> useless function for the end user ...
>> Remind me what the purpose of libavutil is.
> 
> IMHO a small lib of usefull av related things
> code which is common to lavc & lavf can be put into lavc as lavf depends
> on lavc anyway

So, then, what should I do? ls *.h doesn't show me any header file that 
looks suitable. Should I make a new one and call it something like 
internal.h?

-Corey





More information about the ffmpeg-devel mailing list