Browse Source

avformat/vobsub: fix NULL dereference

tags/n2.4
Clément Bœsch 11 years ago
parent
commit
d86cf4a91d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/mpeg.c

+ 1
- 1
libavformat/mpeg.c View File

@@ -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;



Loading…
Cancel
Save