Merge commit 'ce70f28a17'
* commit 'ce70f28a17':
avpacket: Replace av_free_packet with av_packet_unref
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
This commit is contained in:
commit
7f5af80ba4
73 changed files with 154 additions and 138 deletions
|
|
@ -218,7 +218,7 @@ static void free_pkt_fifo(AVFifoBuffer **fifo)
|
|||
AVPacket pkt;
|
||||
while (av_fifo_size(*fifo)) {
|
||||
av_fifo_generic_read(*fifo, &pkt, sizeof(pkt), NULL);
|
||||
av_free_packet(&pkt);
|
||||
av_packet_unref(&pkt);
|
||||
}
|
||||
av_fifo_freep(fifo);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue