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
4dccfff9
Commit
4dccfff9
authored
Sep 21, 2011
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tests/examples: Mark some variables only used within their files as static.
parent
9a5d6c23
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
12 deletions
+14
-12
dct-test.c
libavcodec/dct-test.c
+1
-1
motion-test.c
libavcodec/motion-test.c
+2
-2
output-example.c
libavformat/output-example.c
+8
-8
adler32.c
libavutil/adler32.c
+3
-1
No files found.
libavcodec/dct-test.c
View file @
4dccfff9
...
...
@@ -151,7 +151,7 @@ static const struct algo idct_tab[] = {
#define AANSCALE_BITS 12
uint8_t
cropTbl
[
256
+
2
*
MAX_NEG_CROP
];
static
uint8_t
cropTbl
[
256
+
2
*
MAX_NEG_CROP
];
static
int64_t
gettime
(
void
)
{
...
...
libavcodec/motion-test.c
View file @
4dccfff9
...
...
@@ -38,8 +38,8 @@
#define WIDTH 64
#define HEIGHT 64
uint8_t
img1
[
WIDTH
*
HEIGHT
];
uint8_t
img2
[
WIDTH
*
HEIGHT
];
static
uint8_t
img1
[
WIDTH
*
HEIGHT
];
static
uint8_t
img2
[
WIDTH
*
HEIGHT
];
static
void
fill_random
(
uint8_t
*
tab
,
int
size
)
{
...
...
libavformat/output-example.c
View file @
4dccfff9
...
...
@@ -51,11 +51,11 @@ static int sws_flags = SWS_BICUBIC;
/**************************************************************/
/* audio output */
float
t
,
tincr
,
tincr2
;
int16_t
*
samples
;
uint8_t
*
audio_outbuf
;
int
audio_outbuf_size
;
int
audio_input_frame_size
;
static
float
t
,
tincr
,
tincr2
;
static
int16_t
*
samples
;
static
uint8_t
*
audio_outbuf
;
static
int
audio_outbuf_size
;
static
int
audio_input_frame_size
;
/*
* add an audio output stream
...
...
@@ -190,9 +190,9 @@ static void close_audio(AVFormatContext *oc, AVStream *st)
/**************************************************************/
/* video output */
AVFrame
*
picture
,
*
tmp_picture
;
uint8_t
*
video_outbuf
;
int
frame_count
,
video_outbuf_size
;
static
AVFrame
*
picture
,
*
tmp_picture
;
static
uint8_t
*
video_outbuf
;
static
int
frame_count
,
video_outbuf_size
;
/* add a video output stream */
static
AVStream
*
add_video_stream
(
AVFormatContext
*
oc
,
enum
CodecID
codec_id
)
...
...
libavutil/adler32.c
View file @
4dccfff9
...
...
@@ -60,7 +60,9 @@ unsigned long av_adler32_update(unsigned long adler, const uint8_t * buf,
#include "log.h"
#include "timer.h"
#define LEN 7001
volatile
int
checksum
;
static
volatile
int
checksum
;
int
main
(
int
argc
,
char
**
argv
)
{
int
i
;
...
...
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