XXX: suppress the packet queue */
| 131 | |
| 132 | /* XXX: suppress the packet queue */ |
| 133 | void 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 | |
| 144 | void avformat_free_context(AVFormatContext *s) |
| 145 | { |
no test coverage detected