diff options
author | mosu <mosu@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-08-24 21:20:24 +0000 |
---|---|---|
committer | mosu <mosu@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-08-24 21:20:24 +0000 |
commit | bddf8c6c27de514d125702e67b544f5985eac67a (patch) | |
tree | 9d6348a9b5f8bc8d724bba66c5a8bc91e0cc1fd9 /mplayer.c | |
parent | 55e4ded2bca9381f03452d92be7da72b187e5325 (diff) | |
download | mpv-bddf8c6c27de514d125702e67b544f5985eac67a.tar.bz2 mpv-bddf8c6c27de514d125702e67b544f5985eac67a.tar.xz |
Do not use globals. Put the variables into the appropriate demuxer struct instead.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13128 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mplayer.c')
-rw-r--r-- | mplayer.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -3170,12 +3170,12 @@ if (stream->type==STREAMTYPE_DVDNAV && dvd_nav_still) int new_id = dvdsub_id + 1; if (dvdsub_id < 0) new_id = 0; - if ((unsigned int) new_id >= demux_ogg_num_subs()) + if ((unsigned int) new_id >= demux_ogg_num_subs(demuxer)) new_id = -1; if (new_id != dvdsub_id) osd_show_vobsub_changed = sh_video->fps; dvdsub_id = new_id; - d_dvdsub->id = demux_ogg_sub_id(new_id); + d_dvdsub->id = demux_ogg_sub_id(demuxer, new_id); } #endif #ifdef HAVE_MATROSKA |