MCPcopy Create free account
hub / github.com/FFmpeg/FFmpeg / ff_flush_packet_queue

Function ff_flush_packet_queue

libavformat/avformat.c:133–142  ·  view source on GitHub ↗

XXX: suppress the packet queue */

Source from the content-addressed store, hash-verified

131
132/* XXX: suppress the packet queue */
133void ff_flush_packet_queue(AVFormatContext *s)
134{
135 FormatContextInternal *const fci = ff_fc_internal(s);
136 FFFormatContext *const si = &fci->fc;
137 avpriv_packet_list_free(&fci->parse_queue);
138 avpriv_packet_list_free(&si->packet_buffer);
139 avpriv_packet_list_free(&fci->raw_packet_buffer);
140
141 fci->raw_packet_buffer_size = 0;
142}
143
144void avformat_free_context(AVFormatContext *s)
145{

Callers 3

ff_read_frame_flushFunction · 0.85
avformat_free_contextFunction · 0.85

Calls 1

avpriv_packet_list_freeFunction · 0.85

Tested by

no test coverage detected