From 7e219d9be42b09a0af5ce3483aa3fc5c659d76fd Mon Sep 17 00:00:00 2001 From: henry Date: Thu, 24 Apr 2003 08:20:10 +0000 Subject: [PATCH] 10L git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9975 b3059339-0415-0410-9bf9-f77b7e298cf2 --- find_sub.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/find_sub.c b/find_sub.c index 449788c877..d391d285d1 100644 --- a/find_sub.c +++ b/find_sub.c @@ -23,10 +23,11 @@ extern float sub_fps; 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);