Reimar Döffinger <[email protected]> added the comment:

On Tue, Jul 20, 2010 at 07:20:24PM +0000, Ernst Albrecht Köstlin wrote:
> Doing so won't free the already allocated structures AVFormatContext's 
> "stream"
> array entries are pointing to, neither would it set AVFormatContext's 
> nb_stream
> to 0.

And neither it is supposed to do, av_close_input_stream does all that.
Actually it also calls ffm_close.
So the whole fail: code just should be removed.

________________________________________________
FFmpeg issue tracker <[email protected]>
<https://roundup.ffmpeg.org/issue2003>
________________________________________________

Reply via email to