mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-02-13 19:05:37 +00:00
libavformat/udp: Fix call to recvfrom(2)
Last parameter to recvfrom() is not initialized, causing
recvfrom() to randomly return EINVAL. Issue was introduced in
af04a27893.
This commit is contained in:
parent
746650dfe5
commit
4348bde2d2
1 changed files with 1 additions and 0 deletions
|
|
@ -543,6 +543,7 @@ static void *circular_buffer_task_rx( void *_URLContext)
|
|||
}
|
||||
while(1) {
|
||||
UDPQueuedPacketHeader pkt_header;
|
||||
pkt_header.addr_len = sizeof(pkt_header.addr);
|
||||
|
||||
pthread_mutex_unlock(&s->mutex);
|
||||
/* Blocking operations are always cancellation points;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue