Mercurial > mplayer.hg
changeset 9974:a19da4c57b67
10L
author | henry |
---|---|
date | Thu, 24 Apr 2003 08:20:10 +0000 |
parents | 451b4acf073e |
children | 3914afe5c0a7 |
files | find_sub.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/find_sub.c Tue Apr 22 17:41:31 2003 +0000 +++ b/find_sub.c Thu Apr 24 08:20:10 2003 +0000 @@ -23,10 +23,11 @@ void step_sub(sub_data *subd, float pts, int movement) { subtitle *subs; - int key = (pts+sub_delay) * (subd->sub_uses_time ? 100 : sub_fps); + int key; if (subd == NULL) return; subs = subd->subtitles; + key = (pts+sub_delay) * (subd->sub_uses_time ? 100 : sub_fps); /* Tell the OSD subsystem that the OSD contents will change soon */ vo_osd_changed(OSDTYPE_SUBTITLE);