History

Replace remaining occurances of av_free_packet with av_packet_unref

Hendrik Leppkes committed 11 years ago

Commit c2f861c1 parent 7f5af8059 files · +99 −99Browse files

Showing the changes to libavdevice/decklink_dec.cpp (1 of 59 files). Show all

Unified · Split

libavdevice/decklink_dec.cpp+1−1
@@ -48,7 +48,7 @@ static void avpacket_queue_flush(AVPacketQueue *q) · 47 unmodified lines
4848 pthread_mutex_lock(&q->mutex);
4949 for (pkt = q->first_pkt; pkt != NULL; pkt = pkt1) {
5050 pkt1 = pkt->next;
51− av_free_packet(&pkt->pkt);
51+ av_packet_unref(&pkt->pkt);
5252 av_freep(&pkt);
5353 }
5454 q->last_pkt = NULL;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t