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 <[email protected]>
diff --git a/libavformat/mpeg.c b/libavformat/mpeg.c
index fb1d54e..178e71d 100644
--- a/libavformat/mpeg.c
+++ b/libavformat/mpeg.c
@@ -623,7 +623,7 @@
st->codecpar->sample_rate = 8000;
}
st->internal->request_probe = request_probe;
- st->need_parsing = AVSTREAM_PARSE_FULL;
+ st->internal->need_parsing = AVSTREAM_PARSE_FULL;
found:
if (st->discard >= AVDISCARD_ALL)