summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavformat/sccdec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/sccdec.c b/libavformat/sccdec.c
index 751dee7c6c..1786520944 100644
--- a/libavformat/sccdec.c
+++ b/libavformat/sccdec.c
@@ -93,7 +93,7 @@ static int scc_read_header(AVFormatContext *s)
break;
}
- ts = (hh * 3600LL + mm * 60LL + ss) * 1000LL + fs * 33;
+ ts = (hh * 3600LL + mm * 60LL + ss) * 1000LL + fs * 33LL;
while (!ff_text_eof(&tr)) {
len = ff_subtitles_read_line(&tr, line2, sizeof(line2));
@@ -117,7 +117,7 @@ static int scc_read_header(AVFormatContext *s)
}
}
- next_ts = (hh * 3600LL + mm * 60LL + ss) * 1000LL + fs * 33;
+ next_ts = (hh * 3600LL + mm * 60LL + ss) * 1000LL + fs * 33LL;
pos = ff_text_pos(&tr);
lline = (char *)&line;