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
c41eb2ad
Commit
c41eb2ad
authored
Apr 12, 2011
by
Martin Storsjö
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libavcodec: Use "const enum AVSampleFormat[]" in AVCodec initialization
Signed-off-by:
Martin Storsjö
<
martin@martin.st
>
parent
2f072b55
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
5 deletions
+5
-5
amrnbdec.c
libavcodec/amrnbdec.c
+1
-1
amrwbdec.c
libavcodec/amrwbdec.c
+1
-1
g722.c
libavcodec/g722.c
+1
-1
libvo-aacenc.c
libavcodec/libvo-aacenc.c
+1
-1
libvo-amrwbenc.c
libavcodec/libvo-amrwbenc.c
+1
-1
No files found.
libavcodec/amrnbdec.c
View file @
c41eb2ad
...
...
@@ -1044,5 +1044,5 @@ AVCodec ff_amrnb_decoder = {
.
init
=
amrnb_decode_init
,
.
decode
=
amrnb_decode_frame
,
.
long_name
=
NULL_IF_CONFIG_SMALL
(
"Adaptive Multi-Rate NarrowBand"
),
.
sample_fmts
=
(
enum
AVSampleFormat
[]){
AV_SAMPLE_FMT_FLT
,
AV_SAMPLE_FMT_NONE
},
.
sample_fmts
=
(
const
enum
AVSampleFormat
[]){
AV_SAMPLE_FMT_FLT
,
AV_SAMPLE_FMT_NONE
},
};
libavcodec/amrwbdec.c
View file @
c41eb2ad
...
...
@@ -1233,5 +1233,5 @@ AVCodec ff_amrwb_decoder = {
.
init
=
amrwb_decode_init
,
.
decode
=
amrwb_decode_frame
,
.
long_name
=
NULL_IF_CONFIG_SMALL
(
"Adaptive Multi-Rate WideBand"
),
.
sample_fmts
=
(
enum
AVSampleFormat
[]){
AV_SAMPLE_FMT_FLT
,
AV_SAMPLE_FMT_NONE
},
.
sample_fmts
=
(
const
enum
AVSampleFormat
[]){
AV_SAMPLE_FMT_FLT
,
AV_SAMPLE_FMT_NONE
},
};
libavcodec/g722.c
View file @
c41eb2ad
...
...
@@ -577,7 +577,7 @@ AVCodec ff_adpcm_g722_encoder = {
.
close
=
g722_close
,
.
encode
=
g722_encode_frame
,
.
long_name
=
NULL_IF_CONFIG_SMALL
(
"G.722 ADPCM"
),
.
sample_fmts
=
(
enum
AVSampleFormat
[]){
AV_SAMPLE_FMT_S16
,
AV_SAMPLE_FMT_NONE
},
.
sample_fmts
=
(
const
enum
AVSampleFormat
[]){
AV_SAMPLE_FMT_S16
,
AV_SAMPLE_FMT_NONE
},
};
#endif
libavcodec/libvo-aacenc.c
View file @
c41eb2ad
...
...
@@ -122,7 +122,7 @@ AVCodec ff_libvo_aacenc_encoder = {
aac_encode_frame
,
aac_encode_close
,
NULL
,
.
sample_fmts
=
(
enum
SampleFormat
[]){
SAMPLE_FMT_S16
,
SAMPLE_FMT_NONE
},
.
sample_fmts
=
(
const
enum
SampleFormat
[]){
SAMPLE_FMT_S16
,
SAMPLE_FMT_NONE
},
.
long_name
=
NULL_IF_CONFIG_SMALL
(
"libvo-aacenc AAC"
),
};
libavcodec/libvo-amrwbenc.c
View file @
c41eb2ad
...
...
@@ -120,7 +120,7 @@ AVCodec ff_libvo_amrwbenc_encoder = {
amr_wb_encode_frame
,
amr_wb_encode_close
,
NULL
,
.
sample_fmts
=
(
enum
SampleFormat
[]){
SAMPLE_FMT_S16
,
SAMPLE_FMT_NONE
},
.
sample_fmts
=
(
const
enum
SampleFormat
[]){
SAMPLE_FMT_S16
,
SAMPLE_FMT_NONE
},
.
long_name
=
NULL_IF_CONFIG_SMALL
(
"libvo-amrwbenc Adaptive Multi-Rate "
"(AMR) Wide-Band"
),
};
...
...
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