aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorClément Bœsch <u@pkh.me>2014-09-13 15:15:32 +0200
committerClément Bœsch <u@pkh.me>2014-09-13 15:18:11 +0200
commit148d9cd122272e525288e2d9758c4dcb7db3731b (patch)
tree02d29753ce4b7df3cedc477aaeb33435227a8646 /libavformat
parentbc259185cb69c6532232be4b2ad57a70ef7ed946 (diff)
downloadffmpeg-148d9cd122272e525288e2d9758c4dcb7db3731b.tar.gz
avformat/vobsub: fix NULL dereference
(cherry picked from commit d86cf4a91de2aa9e167a73b56fb59962230e3a32)
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/mpeg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mpeg.c b/libavformat/mpeg.c
index c53bab3e3c..7d0be5ed72 100644
--- a/libavformat/mpeg.c
+++ b/libavformat/mpeg.c
@@ -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;