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

Michael Niedermayer michaelni
Sun Mar 26 22:58:45 CEST 2006


Hi

On Sun, Mar 26, 2006 at 11:01:58PM +0300, Ismail Donmez wrote:
> Pazar 26 Mart 2006 22:58 tarihinde, Corey Hickey ??unlar?? yazm????t??: 
> > 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

i dont know either :)


> > looks suitable. Should I make a new one and call it something like
> > internal.h?
> 
> An osdep dir like mplayer maybe?

i really dont like the idea of OS dependant things in codecs, i belive rich
could explain why thats sick

[...]


-- 
Michael





More information about the ffmpeg-devel mailing list