You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-11-23 21:54:53 +02: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:
@@ -543,6 +543,7 @@ static void *circular_buffer_task_rx( void *_URLContext)
|
|||||||
}
|
}
|
||||||
while(1) {
|
while(1) {
|
||||||
UDPQueuedPacketHeader pkt_header;
|
UDPQueuedPacketHeader pkt_header;
|
||||||
|
pkt_header.addr_len = sizeof(pkt_header.addr);
|
||||||
|
|
||||||
pthread_mutex_unlock(&s->mutex);
|
pthread_mutex_unlock(&s->mutex);
|
||||||
/* Blocking operations are always cancellation points;
|
/* Blocking operations are always cancellation points;
|
||||||
|
|||||||
Reference in New Issue
Block a user