summaryrefslogtreecommitdiff
path: root/libavformat/mgsts.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/mgsts.c')
-rw-r--r--libavformat/mgsts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mgsts.c b/libavformat/mgsts.c
index 5886d2475a..b5c704829d 100644
--- a/libavformat/mgsts.c
+++ b/libavformat/mgsts.c
@@ -50,7 +50,7 @@ static int read_header(AVFormatContext *s)
if (!st)
return AVERROR(ENOMEM);
- st->internal->need_parsing = AVSTREAM_PARSE_HEADERS;
+ ffstream(st)->need_parsing = AVSTREAM_PARSE_HEADERS;
st->start_time = 0;
st->nb_frames =
st->duration = avio_rb32(pb);