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
c367d067
Commit
c367d067
authored
Mar 27, 2007
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
prevent exit missuse
Originally committed as revision 8536 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
79750486
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
0 deletions
+9
-0
cmdutils.c
cmdutils.c
+2
-0
ffmpeg.c
ffmpeg.c
+2
-0
ffplay.c
ffplay.c
+2
-0
ffserver.c
ffserver.c
+2
-0
internal.h
libavutil/internal.h
+1
-0
No files found.
cmdutils.c
View file @
c367d067
...
@@ -24,6 +24,8 @@
...
@@ -24,6 +24,8 @@
#include "cmdutils.h"
#include "cmdutils.h"
#undef exit
void
show_help_options
(
const
OptionDef
*
options
,
const
char
*
msg
,
int
mask
,
int
value
)
void
show_help_options
(
const
OptionDef
*
options
,
const
char
*
msg
,
int
mask
,
int
value
)
{
{
const
OptionDef
*
po
;
const
OptionDef
*
po
;
...
...
ffmpeg.c
View file @
c367d067
...
@@ -55,6 +55,8 @@
...
@@ -55,6 +55,8 @@
#define INFINITY HUGE_VAL
#define INFINITY HUGE_VAL
#endif
#endif
#undef exit
/* select an input stream for an output stream */
/* select an input stream for an output stream */
typedef
struct
AVStreamMap
{
typedef
struct
AVStreamMap
{
int
file_index
;
int
file_index
;
...
...
ffplay.c
View file @
c367d067
...
@@ -49,6 +49,8 @@
...
@@ -49,6 +49,8 @@
}
}
#endif
#endif
#undef exit
//#define DEBUG_SYNC
//#define DEBUG_SYNC
#define MAX_VIDEOQ_SIZE (5 * 256 * 1024)
#define MAX_VIDEOQ_SIZE (5 * 256 * 1024)
...
...
ffserver.c
View file @
c367d067
...
@@ -47,6 +47,8 @@
...
@@ -47,6 +47,8 @@
#include "ffserver.h"
#include "ffserver.h"
#include "random.h"
#include "random.h"
#undef exit
/* maximum number of simultaneous HTTP connections */
/* maximum number of simultaneous HTTP connections */
#define HTTP_MAX_CONNECTIONS 2000
#define HTTP_MAX_CONNECTIONS 2000
...
...
libavutil/internal.h
View file @
c367d067
...
@@ -251,6 +251,7 @@ if((y)<(x)){\
...
@@ -251,6 +251,7 @@ if((y)<(x)){\
#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_pstrcat
#define strcat strcat_is_forbidden_due_to_security_issues_use_pstrcat
#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
#define fprintf please_use_av_log
#define fprintf please_use_av_log
...
...
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