mirror of
https://github.com/mpv-player/mpv
synced 2025-04-18 21:27:00 +00:00
Cosmetics (nothing but spaces, tabs, and a comment changed here..)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19397 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
1f258a4a46
commit
1e7ea68b2e
10
mencoder.c
10
mencoder.c
@ -1520,14 +1520,12 @@ if(sh_audio && !demuxer2){
|
||||
} // while(!at_eof)
|
||||
|
||||
if (!interrupted && filelist[++curfile].name != 0) {
|
||||
if (sh_video && sh_video->vfilter) {
|
||||
// Before uniniting sh_video and the filter chain, break apart the VE.
|
||||
if (sh_video && sh_video->vfilter) { // Before uniniting sh_video and the filter chain, break apart the VE.
|
||||
vf_instance_t * ve; // this will be the filter right before the ve.
|
||||
for (ve = sh_video->vfilter; ve->next && ve->next->next; ve = ve->next);
|
||||
if (ve->next)
|
||||
ve->next = NULL; // I'm telling the last filter, before the VE, there is nothing after it
|
||||
else // There is no chain except the VE.
|
||||
sh_video->vfilter = NULL;
|
||||
|
||||
if (ve->next) ve->next = NULL; // I'm telling the last filter, before the VE, there is nothing after it
|
||||
else sh_video->vfilter = NULL; // There is no chain except the VE.
|
||||
}
|
||||
|
||||
if(sh_audio){ uninit_audio(sh_audio);sh_audio=NULL; }
|
||||
|
Loading…
Reference in New Issue
Block a user