From ebcb5a7154af539d0b0fb869e0a70c66bbd6eda1 Mon Sep 17 00:00:00 2001
From: Uoti Urpala <uau@glyph.nonexistent.invalid>
Date: Fri, 20 Mar 2009 03:39:29 +0200
Subject: [PATCH] Fix video stream switch code typo

Restore accidentally dropped '!' to fixed-vo test in
reinit_video_chain(). It could have caused some issues when switching
video streams. Probably nobody noticed because files with multiple
video streams are rare.
---
 mplayer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mplayer.c b/mplayer.c
index 706d21cede..1690f75ddb 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -2060,7 +2060,7 @@ int reinit_video_chain(struct MPContext *mpctx)
     sh_video_t * const sh_video = mpctx->sh_video;
     double ar=-1.0;
     //================== Init VIDEO (codec & libvo) ==========================
-    if(opts->fixed_vo || !(mpctx->initialized_flags&INITIALIZED_VO)){
+    if (!opts->fixed_vo || !(mpctx->initialized_flags & INITIALIZED_VO)) {
     current_module="preinit_libvo";
 
     //shouldn't we set dvideo->id=-2 when we fail?