Author: duncan
Date: Tue Dec 26 09:34:21 2006
New Revision: 8807

Modified:
   branches/rel-1/freevo/src/tv/plugins/mplayer.py

Log:
[ 1622265 ] 'chan' referenced before assignment
Patch from Frank Naude applied


Modified: branches/rel-1/freevo/src/tv/plugins/mplayer.py
==============================================================================
--- branches/rel-1/freevo/src/tv/plugins/mplayer.py     (original)
+++ branches/rel-1/freevo/src/tv/plugins/mplayer.py     Tue Dec 26 09:34:21 2006
@@ -238,6 +238,7 @@
             return TRUE
 
         elif event in [ em.TV_CHANNEL_UP, em.TV_CHANNEL_DOWN] or 
s_event.startswith('INPUT_'):
+            chan = None
             if event == em.TV_CHANNEL_UP:
                 nextchan = self.fc.getNextChannel()
                 nextchannum = self.fc.getNextChannelNum()

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to