summaryrefslogtreecommitdiff
path: root/libavformat/ncdec.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/ncdec.c')
-rw-r--r--libavformat/ncdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/ncdec.c b/libavformat/ncdec.c
index 3fe189e729..b2f4dfe282 100644
--- a/libavformat/ncdec.c
+++ b/libavformat/ncdec.c
@@ -53,7 +53,7 @@ static int nc_read_header(AVFormatContext *s)
st->codecpar->codec_type = AVMEDIA_TYPE_VIDEO;
st->codecpar->codec_id = AV_CODEC_ID_MPEG4;
- st->internal->need_parsing = AVSTREAM_PARSE_FULL;
+ ffstream(st)->need_parsing = AVSTREAM_PARSE_FULL;
avpriv_set_pts_info(st, 64, 1, 100);