Reimar Döffinger <bugs at reimardoeffinger.de <http://lscube.org/mailman/listinfo/ffmpeg-issues>> 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.
After a second look I realized av_close_input_stream (propably as the error occurrs while being in ac_open_input_stream?) is not called. Anyhow some clean up is done, but not calling ffm_close, so we still miss freeing rc_eq.

Regards
/a

Reply via email to