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
e445647b
Commit
e445647b
authored
Apr 30, 2013
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avresample: Add av_cold attributes to init functions missing them
parent
093804a9
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
audio_mix.c
libavresample/audio_mix.c
+1
-1
dither.c
libavresample/dither.c
+3
-2
No files found.
libavresample/audio_mix.c
View file @
e445647b
...
...
@@ -282,7 +282,7 @@ static void mix_2_to_6_fltp_flt_c(float **samples, float **matrix, int len,
}
}
static
int
mix_function_init
(
AudioMix
*
am
)
static
av_cold
int
mix_function_init
(
AudioMix
*
am
)
{
am
->
func_descr
=
am
->
func_descr_generic
=
"n/a"
;
am
->
mix
=
am
->
mix_generic
=
NULL
;
...
...
libavresample/dither.c
View file @
e445647b
...
...
@@ -31,6 +31,7 @@
#include <math.h>
#include <stdint.h>
#include "libavutil/attributes.h"
#include "libavutil/common.h"
#include "libavutil/lfg.h"
#include "libavutil/mem.h"
...
...
@@ -325,7 +326,7 @@ void ff_dither_free(DitherContext **cp)
av_freep
(
cp
);
}
static
void
dither_init
(
DitherDSPContext
*
ddsp
,
static
av_cold
void
dither_init
(
DitherDSPContext
*
ddsp
,
enum
AVResampleDitherMethod
method
)
{
ddsp
->
quantize
=
quantize_c
;
...
...
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