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
ba22295e
Commit
ba22295e
authored
Feb 10, 2015
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavc: deprecate VIMA decoder
Signed-off-by:
Paul B Mahol
<
onemda@gmail.com
>
parent
9ccc4eed
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
14 additions
and
0 deletions
+14
-0
APIchanges
doc/APIchanges
+3
-0
allcodecs.c
libavcodec/allcodecs.c
+2
-0
avcodec.h
libavcodec/avcodec.h
+2
-0
codec_desc.c
libavcodec/codec_desc.c
+2
-0
version.h
libavcodec/version.h
+3
-0
vima.c
libavcodec/vima.c
+2
-0
No files found.
doc/APIchanges
View file @
ba22295e
...
...
@@ -15,6 +15,9 @@ libavutil: 2014-08-09
API changes, most recent first:
2015-02-xx - xxxxxxx - lavc 56.21.102
Deprecate VIMA decoder.
2015-01-27 - 728685f - lavc 56.12.0, lavu 54.8.0 - avcodec.h, frame.h
Add AV_PKT_DATA_AUDIO_SERVICE_TYPE and AV_FRAME_DATA_AUDIO_SERVICE_TYPE for
storing the audio service type as side data.
...
...
libavcodec/allcodecs.c
View file @
ba22295e
...
...
@@ -477,7 +477,9 @@ void avcodec_register_all(void)
REGISTER_DECODER
(
ADPCM_VIMA
,
adpcm_vima
);
REGISTER_DECODER
(
ADPCM_XA
,
adpcm_xa
);
REGISTER_ENCDEC
(
ADPCM_YAMAHA
,
adpcm_yamaha
);
#if FF_API_VIMA_DECODER
REGISTER_DECODER
(
VIMA
,
vima
);
#endif
/* subtitles */
REGISTER_ENCDEC
(
SSA
,
ssa
);
...
...
libavcodec/avcodec.h
View file @
ba22295e
...
...
@@ -390,7 +390,9 @@ enum AVCodecID {
AV_CODEC_ID_ADPCM_IMA_APC
,
AV_CODEC_ID_ADPCM_VIMA_DEPRECATED
,
AV_CODEC_ID_ADPCM_VIMA
=
MKBETAG
(
'V'
,
'I'
,
'M'
,
'A'
),
#if FF_API_VIMA_DECODER
AV_CODEC_ID_VIMA
=
MKBETAG
(
'V'
,
'I'
,
'M'
,
'A'
),
#endif
AV_CODEC_ID_ADPCM_AFC
=
MKBETAG
(
'A'
,
'F'
,
'C'
,
' '
),
AV_CODEC_ID_ADPCM_IMA_OKI
=
MKBETAG
(
'O'
,
'K'
,
'I'
,
' '
),
AV_CODEC_ID_ADPCM_DTK
=
MKBETAG
(
'D'
,
'T'
,
'K'
,
' '
),
...
...
libavcodec/codec_desc.c
View file @
ba22295e
...
...
@@ -2807,6 +2807,7 @@ static const AVCodecDescriptor codec_descriptors[] = {
AV_CODEC_PROP_LOSSLESS
,
},
#if FF_API_VIMA_DECODER
{
.
id
=
AV_CODEC_ID_VIMA
,
.
type
=
AVMEDIA_TYPE_AUDIO
,
...
...
@@ -2814,6 +2815,7 @@ static const AVCodecDescriptor codec_descriptors[] = {
.
long_name
=
NULL_IF_CONFIG_SMALL
(
"LucasArts VIMA audio (deprecated id)"
),
.
props
=
AV_CODEC_PROP_LOSSY
,
},
#endif
{
.
id
=
AV_CODEC_ID_ADPCM_VIMA_DEPRECATED
,
.
type
=
AVMEDIA_TYPE_AUDIO
,
...
...
libavcodec/version.h
View file @
ba22295e
...
...
@@ -48,6 +48,9 @@
* the public API and may change, break or disappear at any time.
*/
#ifndef FF_API_VIMA_DECODER
#define FF_API_VIMA_DECODER (LIBAVCODEC_VERSION_MAJOR < 57)
#endif
#ifndef FF_API_REQUEST_CHANNELS
#define FF_API_REQUEST_CHANNELS (LIBAVCODEC_VERSION_MAJOR < 57)
#endif
...
...
libavcodec/vima.c
View file @
ba22295e
...
...
@@ -217,6 +217,7 @@ AVCodec ff_adpcm_vima_decoder = {
.
capabilities
=
CODEC_CAP_DR1
,
};
#if FF_API_VIMA_DECODER
AVCodec
ff_vima_decoder
=
{
.
name
=
"vima"
,
.
long_name
=
NULL_IF_CONFIG_SMALL
(
"LucasArts VIMA audio"
),
...
...
@@ -226,3 +227,4 @@ AVCodec ff_vima_decoder = {
.
decode
=
decode_frame
,
.
capabilities
=
CODEC_CAP_DR1
,
};
#endif
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