From d86cf4a91de2aa9e167a73b56fb59962230e3a32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20B=C5=93sch?= Date: Sat, 13 Sep 2014 15:15:32 +0200 Subject: [PATCH] avformat/vobsub: fix NULL dereference --- libavformat/mpeg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/mpeg.c b/libavformat/mpeg.c index 82cb415edd..b153727ac6 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;