Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
8146d16b
Commit
8146d16b
authored
May 18, 2011
by
JULIAN GARDNER
Committed by
Michael Niedermayer
May 18, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleaned up the udp.c, removed some variables and an av_log
parent
e3ff6e8d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
udp.c
libavformat/udp.c
+0
-3
No files found.
libavformat/udp.c
View file @
8146d16b
...
...
@@ -57,7 +57,6 @@ typedef struct {
/* Circular Buffer variables for use in UDP receive code */
int
circular_buffer_size
;
AVFifoBuffer
*
fifo
;
int
circular_buffer_available_max
;
int
circular_buffer_error
;
pthread_t
circular_buffer_thread
;
}
UDPContext
;
...
...
@@ -529,7 +528,6 @@ static int udp_read(URLContext *h, uint8_t *buf, int size)
UDPContext
*
s
=
h
->
priv_data
;
int
ret
;
int
avail
;
int
left
;
fd_set
rfds
;
struct
timeval
tv
;
...
...
@@ -594,7 +592,6 @@ static int udp_close(URLContext *h)
if
(
s
->
is_multicast
&&
(
h
->
flags
&
AVIO_FLAG_READ
))
udp_leave_multicast_group
(
s
->
udp_fd
,
(
struct
sockaddr
*
)
&
s
->
dest_addr
);
closesocket
(
s
->
udp_fd
);
av_log
(
h
,
AV_LOG_INFO
,
"circular_buffer_info max:%d%%
\r\n
"
,
(
s
->
circular_buffer_available_max
*
100
)
/
s
->
circular_buffer_size
);
av_fifo_free
(
s
->
fifo
);
av_free
(
s
);
return
0
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment