summaryrefslogtreecommitdiff
path: root/libavformat/mpegts.c
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2021-05-01 23:13:41 -0300
committerJames Almer <jamrial@gmail.com>2021-05-07 09:27:20 -0300
commitfab2ed47042d4cc2a4cd69bb97738024c01300c7 (patch)
tree4606f91b941a708db2b79e064f3a9601ff5615e0 /libavformat/mpegts.c
parent1262f67cca1ed045521dc3af0d9d0ee9716335f2 (diff)
avformat: move AVStream.probe_packets to AVStreamInternal
It's a private fields, no reason to have it exposed in a public header. Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavformat/mpegts.c')
-rw-r--r--libavformat/mpegts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c
index 9092dbce72..0ed108ce89 100644
--- a/libavformat/mpegts.c
+++ b/libavformat/mpegts.c
@@ -954,7 +954,7 @@ static int mpegts_set_stream_info(AVStream *st, PESContext *pes,
}
if ((st->codecpar->codec_id == AV_CODEC_ID_NONE ||
(st->internal->request_probe > 0 && st->internal->request_probe < AVPROBE_SCORE_STREAM_RETRY / 5)) &&
- st->probe_packets > 0 &&
+ st->internal->probe_packets > 0 &&
stream_type == STREAM_TYPE_PRIVATE_DATA) {
st->codecpar->codec_type = AVMEDIA_TYPE_DATA;
st->codecpar->codec_id = AV_CODEC_ID_BIN_DATA;