summaryrefslogtreecommitdiff
path: root/libavformat/options.c
diff options
context:
space:
mode:
authorMarton Balint <cus@passwd.hu>2021-11-07 18:21:17 +0100
committerMarton Balint <cus@passwd.hu>2021-11-14 18:30:57 +0100
commit406ffd9b9b99fa096bcfe31b467453824d1542e7 (patch)
tree38caa77622a1fe7fbda536907c13cd759e457164 /libavformat/options.c
parent0a9edac48eacc0f914f489dc7953a51bf24bb99c (diff)
avformat/demux: allow total size of packets in raw_packet_buffer to reach probesize
Previously this was hardcoded to 2500000 bytes, so probing of the stream codecs was always limited by this, and not probesize. Also keep track of the actual size of packets in raw_packet_buffer and not the remaining size for simplicity. Fixes ticket #5860. Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'libavformat/options.c')
-rw-r--r--libavformat/options.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavformat/options.c b/libavformat/options.c
index 753aa9b8dc..72c9bdcefe 100644
--- a/libavformat/options.c
+++ b/libavformat/options.c
@@ -174,7 +174,6 @@ AVFormatContext *avformat_alloc_context(void)
}
si->offset = AV_NOPTS_VALUE;
- si->raw_packet_buffer_remaining_size = RAW_PACKET_BUFFER_SIZE;
si->shortest_end = AV_NOPTS_VALUE;
return s;