Commit 07bf8f83 authored by Andreas Rheinhardt's avatar Andreas Rheinhardt

avformat/sccdec: Remove nonsense cast

In most contexts, arrays are automatically converted to a pointer
to their first element; taking the address of the array just yields
a pointer to an array of fixed-size arrays, which is not intended here.
Signed-off-by: 's avatarAndreas Rheinhardt <andreas.rheinhardt@outlook.com>
parent c9b44a79
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment