You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
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: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
@@ -96,7 +96,7 @@ static int scc_read_header(AVFormatContext *s)
|
|||||||
if (sub)
|
if (sub)
|
||||||
sub->duration = ts - sub->pts;
|
sub->duration = ts - sub->pts;
|
||||||
|
|
||||||
lline = (char *)&line;
|
lline = line;
|
||||||
lline += 12;
|
lline += 12;
|
||||||
|
|
||||||
for (i = 0; i < 4095; i += 3) {
|
for (i = 0; i < 4095; i += 3) {
|
||||||
|
Reference in New Issue
Block a user