aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/mpeg.c
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:15:32 +0200
commitd86cf4a91de2aa9e167a73b56fb59962230e3a32 (patch)
tree070ca6f47132d5b22d4c764abd1f645344009a96 /libavformat/mpeg.c
parent8572dbc5dbeb8c46f7fcc3d8cbc82587c31d7a24 (diff)
downloadffmpeg-d86cf4a91de2aa9e167a73b56fb59962230e3a32.tar.gz
avformat/vobsub: fix NULL dereference
Diffstat (limited to 'libavformat/mpeg.c')
-rw-r--r--libavformat/mpeg.c2
1 files changed, 1 insertions, 1 deletions
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;