[FFmpeg-devel] [RFC] missing close/free functions for avformat?
Sat Dec 15 20:03:23 CET 2007
On Sat, Dec 15, 2007 at 06:21:40PM +0100, matthieu castet wrote:
> Michael Niedermayer wrote:
> > On Sat, Dec 15, 2007 at 05:28:51PM +0100, Reimar D?ffinger wrote:
> >> Hello,
> >> unless I missed something there are no corresponding close/free
> >> functions for av_alloc_format_context and av_open_input_stream.
> >> But these are part of the public API, what use are they if there
> >> is no proper way in freeing the allocated memory...
> >> It actually seems to me that almost everything except the url_fclose
> >> should go into a av_free_format_context, do you agree with that?
> > have you tried:
> > av_open_input_stream() - av_close_input_file
> This doesn't seem to work because av_close_input_file call url_fclose.
> see .
well then make it work, or write a av_close_input_stream() or a universal
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
No human being will ever know the Truth, for even if they happen to say it
by chance, they would not even known they had done so. -- Xenophanes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: Digital signature
More information about the ffmpeg-devel