[MPlayer-cvslog] r25664 - trunk/mplayer.c
ben
subversion at mplayerhq.hu
Thu Jan 10 19:46:09 CET 2008
Author: ben
Date: Thu Jan 10 19:46:08 2008
New Revision: 25664
Log:
factorizes variable check
Modified:
trunk/mplayer.c
Modified: trunk/mplayer.c
==============================================================================
--- trunk/mplayer.c (original)
+++ trunk/mplayer.c Thu Jan 10 19:46:08 2008
@@ -2741,9 +2741,11 @@ play_next_file:
mpctx->global_sub_size = 0;
{ int i; for (i = 0; i < SUB_SOURCES; i++) mpctx->global_sub_indices[i] = -1; }
- if (filename) load_per_protocol_config (mconfig, filename);
- if (filename) load_per_extension_config (mconfig, filename);
- if (filename) load_per_file_config (mconfig, filename);
+ if (filename) {
+ load_per_protocol_config (mconfig, filename);
+ load_per_extension_config (mconfig, filename);
+ load_per_file_config (mconfig, filename);
+ }
// We must enable getch2 here to be able to interrupt network connection
// or cache filling
More information about the MPlayer-cvslog
mailing list