* commit 'ce70f28a17':
  avpacket: Replace av_free_packet with av_packet_unref

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
This commit is contained in:
Hendrik Leppkes 2015-10-27 14:28:56 +01:00
commit 7f5af80ba4
73 changed files with 154 additions and 138 deletions

View file

@ -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);
}