rendered paste bodyIndex: libs/libavformat/utils.c
===================================================================
--- libs/libavformat/utils.c (revision 21132)
+++ libs/libavformat/utils.c (working copy)
@@ -564,9 +564,7 @@
if (pktl) {
*pkt = pktl->pkt;
- if(s->streams[pkt->stream_index]->codec->codec_id != CODEC_ID_PROBE ||
- !s->streams[pkt->stream_index]->probe_packets ||
- s->raw_packet_buffer_remaining_size < pkt->size){
+ if(s->streams[pkt->stream_index]->codec->codec_id != CODEC_ID_PROBE){
AVProbeData *pd = &s->streams[pkt->stream_index]->probe_data;
av_freep(&pd->buf);
pd->buf_size = 0;