[MPlayer-cvslog] r38398 - trunk/mencoder.c

reimar subversion at mplayerhq.hu
Tue Aug 30 22:48:45 EEST 2022


Author: reimar
Date: Tue Aug 30 22:48:45 2022
New Revision: 38398

Log:
mencoder.c: free options list and output stream.

Modified:
   trunk/mencoder.c

Modified: trunk/mencoder.c
==============================================================================
--- trunk/mencoder.c	Tue Aug 30 22:40:47 2022	(r38397)
+++ trunk/mencoder.c	Tue Aug 30 22:48:45 2022	(r38398)
@@ -1730,11 +1730,13 @@ if(sh_audio)
 mp_msg(MSGT_MENCODER, MSGL_INFO, MSGTR_AudioStreamResult,
     (float)(mux_a->size/mux_a->timer*8.0f/1000.0f), (int)(mux_a->size/mux_a->timer), (uint64_t)mux_a->size, (float)mux_a->timer);
 
+m_config_free(mconfig);
 m_entry_list_free(filelist);
 if(sh_audio){ uninit_audio(sh_audio);sh_audio=NULL; }
 if(sh_video){ uninit_video(sh_video);sh_video=NULL; }
 if(demuxer) free_demuxer(demuxer);
 if(stream) free_stream(stream); // kill cache thread
+if(ostream) free_stream(ostream);
 // Do not free mux_v->buffer, it may have been overwritten
 // with something we should not free.
 if(mux_v) free(mux_v_buffer);


More information about the MPlayer-cvslog mailing list