summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavformat/sccdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/sccdec.c b/libavformat/sccdec.c
index 5f90edbef6..720fd0434f 100644
--- a/libavformat/sccdec.c
+++ b/libavformat/sccdec.c
@@ -96,7 +96,7 @@ static int scc_read_header(AVFormatContext *s)
if (sub)
sub->duration = ts - sub->pts;
- lline = (char *)&line;
+ lline = line;
lline += 12;
for (i = 0; i < 4095; i += 3) {