aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/ty.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/ty.c
parentfab2ed47042d4cc2a4cd69bb97738024c01300c7 (diff)
downloadffmpeg-b9c5fdf6027010d15ee90a43aa023e45a5189097.tar.gz
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/ty.c')
-rw-r--r--libavformat/ty.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/ty.c b/libavformat/ty.c
index 8830467f99..5bb5d4267b 100644
--- a/libavformat/ty.c
+++ b/libavformat/ty.c
@@ -308,7 +308,7 @@ static int ty_read_header(AVFormatContext *s)
return AVERROR(ENOMEM);
st->codecpar->codec_type = AVMEDIA_TYPE_VIDEO;
st->codecpar->codec_id = AV_CODEC_ID_MPEG2VIDEO;
- st->need_parsing = AVSTREAM_PARSE_FULL_RAW;
+ st->internal->need_parsing = AVSTREAM_PARSE_FULL_RAW;
avpriv_set_pts_info(st, 64, 1, 90000);
ast = avformat_new_stream(s, NULL);
@@ -318,7 +318,7 @@ static int ty_read_header(AVFormatContext *s)
if (ty->audio_type == TIVO_AUDIO_MPEG) {
ast->codecpar->codec_id = AV_CODEC_ID_MP2;
- ast->need_parsing = AVSTREAM_PARSE_FULL_RAW;
+ ast->internal->need_parsing = AVSTREAM_PARSE_FULL_RAW;
} else {
ast->codecpar->codec_id = AV_CODEC_ID_AC3;
}