diff options
author | 2001-08-23 12:24:59 +0000 | |
---|---|---|
committer | 2001-08-23 12:24:59 +0000 | |
commit | e0840baae9fab20f7d94814abb01f71cc7ad28e1 (patch) | |
tree | f657fb4ca97df4233e07e062d1e1494c4e4f99c9 /mplayer.c | |
parent | 3ac8704a9fa08c91f86982210430cafbc1e091d4 (diff) |
dec_video uninit
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1655 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mplayer.c')
-rw-r--r-- | mplayer.c | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -594,7 +594,12 @@ play_next_file: } #endif - demuxer=NULL; stream=NULL; + stream=NULL; + demuxer=NULL; + d_audio=NULL; + d_video=NULL; + sh_audio=NULL; + sh_video=NULL; #ifdef USE_LIBVO2 current_module="vo2_new"; @@ -1809,6 +1814,9 @@ goto_next_file: // don't jump here after ao/vo/getch initialization! ++curr_filename; if(curr_filename<num_filenames){ + current_module="uninit_vcodec"; + if(sh_video) uninit_video(sh_video); + current_module="free_demuxer"; if(demuxer) free_demuxer(demuxer); |