[FFmpeg-devel] [RFC] OS support library

Reimar Döffinger Reimar.Doeffinger
Mon Dec 3 22:37:27 CET 2007


Hello,
On Mon, Dec 03, 2007 at 09:29:36PM +0100, Michael Niedermayer wrote:
> On Mon, Dec 03, 2007 at 08:48:06PM +0100, Reimar D?ffinger wrote:
> > On Mon, Dec 03, 2007 at 05:04:41PM +0100, Luca Abeni wrote:
> > [...]
> > > 2) Also, av_tempfile() (from libavcodec/utils.c) should be a good
> > > candidate for libossupport...
> > 
> > As I remember all uses of av_tempfile are horrible and should never have
> > been done in the first place. And honestly I think that libav* should
> > _never_ create any files, at least not unless the function name clearly
> > indicates it will do so.
> > So this seems only like a good candidate to get completely rid of to
> > me...
> 
> well feel free to remove it

Unfortunately that would mean breaking xvid rc code since that needs a
file.
Well, it could be hacked to use a socket I guess, but that can easily
hang...
Any other ideas how to get a filedescriptor without needing a file?

Greetings,
Reimar D?ffinger




More information about the ffmpeg-devel mailing list