summaryrefslogtreecommitdiff
path: root/libavformat/sdr2.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/sdr2.c')
-rw-r--r--libavformat/sdr2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/sdr2.c b/libavformat/sdr2.c
index 0f506fd074..6799339420 100644
--- a/libavformat/sdr2.c
+++ b/libavformat/sdr2.c
@@ -51,7 +51,7 @@ static int sdr2_read_header(AVFormatContext *s)
st->codecpar->width = avio_rl32(s->pb);
st->codecpar->height = avio_rl32(s->pb);
st->codecpar->codec_id = AV_CODEC_ID_H264;
- st->internal->need_parsing = AVSTREAM_PARSE_FULL;
+ ffstream(st)->need_parsing = AVSTREAM_PARSE_FULL;
ast->codecpar->codec_type = AVMEDIA_TYPE_AUDIO;
ast->codecpar->channels = 1;