summaryrefslogtreecommitdiff
path: root/libavformat/s337m.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/s337m.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/s337m.c')
-rw-r--r--libavformat/s337m.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/s337m.c b/libavformat/s337m.c
index 37e93db7d5..e1d921c303 100644
--- a/libavformat/s337m.c
+++ b/libavformat/s337m.c
@@ -20,6 +20,7 @@
#include "libavutil/intreadwrite.h"
#include "avformat.h"
+#include "internal.h"
#include "spdif.h"
#define MARKER_16LE 0x72F81F4E
@@ -180,7 +181,7 @@ static int s337m_read_packet(AVFormatContext *s, AVPacket *pkt)
}
st->codecpar->codec_type = AVMEDIA_TYPE_AUDIO;
st->codecpar->codec_id = codec;
- st->need_parsing = AVSTREAM_PARSE_HEADERS;
+ st->internal->need_parsing = AVSTREAM_PARSE_HEADERS;
}
return 0;