Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
272605c7
Commit
272605c7
authored
Jun 24, 2007
by
Reimar Döffinger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
more av_strl* adjustments
Originally committed as revision 9412 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
19f4ceca
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
3 deletions
+5
-3
rtpproto.c
libavformat/rtpproto.c
+1
-0
internal.h
libavutil/internal.h
+1
-1
ppm.c
vhook/ppm.c
+3
-2
No files found.
libavformat/rtpproto.c
View file @
272605c7
...
@@ -25,6 +25,7 @@
...
@@ -25,6 +25,7 @@
#include <stdarg.h>
#include <stdarg.h>
#include "network.h"
#include "network.h"
#include <fcntl.h>
#include <fcntl.h>
#include "avstring.h"
#define RTP_TX_BUF_SIZE (64 * 1024)
#define RTP_TX_BUF_SIZE (64 * 1024)
#define RTP_RX_BUF_SIZE (128 * 1024)
#define RTP_RX_BUF_SIZE (128 * 1024)
...
...
libavutil/internal.h
View file @
272605c7
...
@@ -241,7 +241,7 @@ if((y)<(x)){\
...
@@ -241,7 +241,7 @@ if((y)<(x)){\
#define rand rand_is_forbidden_due_to_state_trashing
#define rand rand_is_forbidden_due_to_state_trashing
#define srand srand_is_forbidden_due_to_state_trashing
#define srand srand_is_forbidden_due_to_state_trashing
#define sprintf sprintf_is_forbidden_due_to_security_issues_use_snprintf
#define sprintf sprintf_is_forbidden_due_to_security_issues_use_snprintf
#define strcat strcat_is_forbidden_due_to_security_issues_use_
pstr
cat
#define strcat strcat_is_forbidden_due_to_security_issues_use_
av_strl
cat
#define exit exit_is_forbidden
#define exit exit_is_forbidden
#if !(defined(LIBAVFORMAT_BUILD) || defined(_FRAMEHOOK_H))
#if !(defined(LIBAVFORMAT_BUILD) || defined(_FRAMEHOOK_H))
#define printf please_use_av_log
#define printf please_use_av_log
...
...
vhook/ppm.c
View file @
272605c7
...
@@ -28,6 +28,7 @@
...
@@ -28,6 +28,7 @@
#include "framehook.h"
#include "framehook.h"
#include "avformat.h"
#include "avformat.h"
#include "swscale.h"
#include "swscale.h"
#include "avstring.h"
static
int
sws_flags
=
SWS_BICUBIC
;
static
int
sws_flags
=
SWS_BICUBIC
;
...
@@ -68,8 +69,8 @@ static rwpipe *rwpipe_open( int argc, char *argv[] )
...
@@ -68,8 +69,8 @@ static rwpipe *rwpipe_open( int argc, char *argv[] )
strcpy
(
command
,
""
);
strcpy
(
command
,
""
);
for
(
i
=
0
;
i
<
argc
;
i
++
)
for
(
i
=
0
;
i
<
argc
;
i
++
)
{
{
pstrcat
(
command
,
COMMAND_SIZE
,
argv
[
i
]
);
av_strlcat
(
command
,
argv
[
i
],
COMMAND_SIZE
);
pstrcat
(
command
,
COMMAND_SIZE
,
" "
);
av_strlcat
(
command
,
" "
,
COMMAND_SIZE
);
}
}
dup2
(
output
[
0
],
STDIN_FILENO
);
dup2
(
output
[
0
],
STDIN_FILENO
);
...
...
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