Mercurial > mplayer.hg
diff mplayer.c @ 13127:957fc21fc10a
Do not use globals. Put the variables into the appropriate demuxer struct instead.
author | mosu |
---|---|
date | Tue, 24 Aug 2004 21:20:24 +0000 |
parents | b59e16a8dfc7 |
children | cfce549da2f0 |
line wrap: on
line diff
--- a/mplayer.c Tue Aug 24 20:58:29 2004 +0000 +++ b/mplayer.c Tue Aug 24 21:20:24 2004 +0000 @@ -3170,12 +3170,12 @@ 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