summaryrefslogtreecommitdiff
path: root/libavformat/flvdec.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/flvdec.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/flvdec.c')
-rw-r--r--libavformat/flvdec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/flvdec.c b/libavformat/flvdec.c
index 718d690421..e6c2877a74 100644
--- a/libavformat/flvdec.c
+++ b/libavformat/flvdec.c
@@ -271,7 +271,7 @@ static void flv_set_audio_codec(AVFormatContext *s, AVStream *astream,
break;
case FLV_CODECID_MP3:
apar->codec_id = AV_CODEC_ID_MP3;
- astream->need_parsing = AVSTREAM_PARSE_FULL;
+ astream->internal->need_parsing = AVSTREAM_PARSE_FULL;
break;
case FLV_CODECID_NELLYMOSER_8KHZ_MONO:
// in case metadata does not otherwise declare samplerate
@@ -362,7 +362,7 @@ static int flv_set_video_codec(AVFormatContext *s, AVStream *vstream,
break;
case FLV_CODECID_H264:
par->codec_id = AV_CODEC_ID_H264;
- vstream->need_parsing = AVSTREAM_PARSE_HEADERS;
+ vstream->internal->need_parsing = AVSTREAM_PARSE_HEADERS;
ret = 3; // not 4, reading packet type will consume one byte
break;
case FLV_CODECID_MPEG4: