mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-06-04 19:07:55 +00:00
Replace remaining occurances of av_free_packet with av_packet_unref
This commit is contained in:
parent
7f5af80ba4
commit
c2f861ca42
59 changed files with 99 additions and 99 deletions
|
@ -48,7 +48,7 @@ static void avpacket_queue_flush(AVPacketQueue *q)
|
|||
pthread_mutex_lock(&q->mutex);
|
||||
for (pkt = q->first_pkt; pkt != NULL; pkt = pkt1) {
|
||||
pkt1 = pkt->next;
|
||||
av_free_packet(&pkt->pkt);
|
||||
av_packet_unref(&pkt->pkt);
|
||||
av_freep(&pkt);
|
||||
}
|
||||
q->last_pkt = NULL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue