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
c0e3b461
Commit
c0e3b461
authored
Feb 20, 2015
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
swresample: add av_cold to init functions
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
e19d1840
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
dither.c
libswresample/dither.c
+1
-1
resample_init.c
libswresample/x86/resample_init.c
+1
-1
No files found.
libswresample/dither.c
View file @
c0e3b461
...
...
@@ -72,7 +72,7 @@ void swri_get_dither(SwrContext *s, void *dst, int len, unsigned seed, enum AVSa
av_free
(
tmp
);
}
int
swri_dither_init
(
SwrContext
*
s
,
enum
AVSampleFormat
out_fmt
,
enum
AVSampleFormat
in_fmt
)
av_cold
int
swri_dither_init
(
SwrContext
*
s
,
enum
AVSampleFormat
out_fmt
,
enum
AVSampleFormat
in_fmt
)
{
int
i
;
double
scale
=
0
;
...
...
libswresample/x86/resample_init.c
View file @
c0e3b461
...
...
@@ -43,7 +43,7 @@ RESAMPLE_FUNCS(float, fma3);
RESAMPLE_FUNCS
(
float
,
fma4
);
RESAMPLE_FUNCS
(
double
,
sse2
);
void
swri_resample_dsp_x86_init
(
ResampleContext
*
c
)
av_cold
void
swri_resample_dsp_x86_init
(
ResampleContext
*
c
)
{
int
av_unused
mm_flags
=
av_get_cpu_flags
();
...
...
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