1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-20 23:07:02 +00:00

factorizes variable check

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25664 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
ben 2008-01-10 18:46:08 +00:00
parent 8944441a44
commit 1043075a0d

View File

@ -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