This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
Merge declaration and initialization of io_buffer_size
Originally committed as revision 16639 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Reimar Döffinger
16 years ago
parent
2bdaf78c52
commit
0c5a43d648
1 changed files
with
1 additions
and
6 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-6
libavformat/aviobuf.c
+ 1
- 6
libavformat/aviobuf.c
View File
@@ -784,12 +784,7 @@ static int url_open_dyn_buf_internal(ByteIOContext **s, int max_packet_size)
{
DynBuffer *d;
int ret;
unsigned io_buffer_size;
if (max_packet_size)
io_buffer_size = max_packet_size;
else
io_buffer_size = 1024;
unsigned io_buffer_size = max_packet_size ? max_packet_size : 1024;
if(sizeof(DynBuffer) + io_buffer_size < io_buffer_size)
return -1;
Write
Preview
Loading…
Cancel
Save