summaryrefslogtreecommitdiff
path: root/libavformat/rtpdec_asf.c
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2021-05-01 23:28:18 -0300
committerJames Almer <jamrial@gmail.com>2021-05-07 09:27:21 -0300
commitb9c5fdf6027010d15ee90a43aa023e45a5189097 (patch)
treed51cea73b330856ca9245aed2e1cb0c23a58bc46 /libavformat/rtpdec_asf.c
parentfab2ed47042d4cc2a4cd69bb97738024c01300c7 (diff)
avformat: move AVStream.{parser,need_parsing} to AVStreamInternal
Those are private fields, no reason to have them exposed in a public header. Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavformat/rtpdec_asf.c')
-rw-r--r--libavformat/rtpdec_asf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/rtpdec_asf.c b/libavformat/rtpdec_asf.c
index 2749ad1380..f6e7f00bbe 100644
--- a/libavformat/rtpdec_asf.c
+++ b/libavformat/rtpdec_asf.c
@@ -167,8 +167,8 @@ static int asfrtp_parse_sdp_line(AVFormatContext *s, int stream_index,
if (s->streams[stream_index]->id == rt->asf_ctx->streams[i]->id) {
avcodec_parameters_copy(s->streams[stream_index]->codecpar,
rt->asf_ctx->streams[i]->codecpar);
- s->streams[stream_index]->need_parsing =
- rt->asf_ctx->streams[i]->need_parsing;
+ s->streams[stream_index]->internal->need_parsing =
+ rt->asf_ctx->streams[i]->internal->need_parsing;
avpriv_set_pts_info(s->streams[stream_index], 32, 1, 1000);
}
}