Commit d86cf4a9 authored by Clément Bœsch's avatar Clément Bœsch

avformat/vobsub: fix NULL dereference

parent 8572dbc5
......@@ -783,7 +783,7 @@ static int vobsub_read_header(AVFormatContext *s)
while (*p == ' ')
p++;
av_log(s, AV_LOG_DEBUG, "IDX stream[%d] name=%s\n", st->id, p);
av_log(s, AV_LOG_DEBUG, "IDX stream[%d] name=%s\n", stream_id, p);
av_strlcpy(alt, p, sizeof(alt));
header_parsed = 1;
......
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