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
bb2f13c1
Commit
bb2f13c1
authored
Aug 07, 2012
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rename missed CodecID to AVCodecID
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
2fc7c818
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
13 additions
and
13 deletions
+13
-13
avcodec.h
libavcodec/avcodec.h
+1
-1
crystalhd.c
libavcodec/crystalhd.c
+1
-1
dshow.c
libavdevice/dshow.c
+2
-2
openal-dec.c
libavdevice/openal-dec.c
+1
-1
cafenc.c
libavformat/cafenc.c
+2
-2
mov.c
libavformat/mov.c
+1
-1
movenc.c
libavformat/movenc.c
+1
-1
riff.c
libavformat/riff.c
+1
-1
riff.h
libavformat/riff.h
+2
-2
wtvenc.c
libavformat/wtvenc.c
+1
-1
No files found.
libavcodec/avcodec.h
View file @
bb2f13c1
...
@@ -92,7 +92,7 @@
...
@@ -92,7 +92,7 @@
* If you add a codec ID to this list, add it so that
* If you add a codec ID to this list, add it so that
* 1. no value of a existing codec ID changes (that would break ABI),
* 1. no value of a existing codec ID changes (that would break ABI),
* 2. Give it a value which when taken as ASCII is recognized uniquely by a human as this specific codec.
* 2. Give it a value which when taken as ASCII is recognized uniquely by a human as this specific codec.
* This ensures that 2 forks can independently add CodecIDs without producing conflicts.
* This ensures that 2 forks can independently add
AV
CodecIDs without producing conflicts.
*/
*/
enum
AVCodecID
{
enum
AVCodecID
{
AV_CODEC_ID_NONE
,
AV_CODEC_ID_NONE
,
...
...
libavcodec/crystalhd.c
View file @
bb2f13c1
...
@@ -163,7 +163,7 @@ static const AVOption options[] = {
...
@@ -163,7 +163,7 @@ static const AVOption options[] = {
* Helper functions
* Helper functions
****************************************************************************/
****************************************************************************/
static
inline
BC_MEDIA_SUBTYPE
id2subtype
(
CHDContext
*
priv
,
enum
CodecID
id
)
static
inline
BC_MEDIA_SUBTYPE
id2subtype
(
CHDContext
*
priv
,
enum
AV
CodecID
id
)
{
{
switch
(
id
)
{
switch
(
id
)
{
case
AV_CODEC_ID_MPEG4
:
case
AV_CODEC_ID_MPEG4
:
...
...
libavdevice/dshow.c
View file @
bb2f13c1
...
@@ -92,7 +92,7 @@ static enum PixelFormat dshow_pixfmt(DWORD biCompression, WORD biBitCount)
...
@@ -92,7 +92,7 @@ static enum PixelFormat dshow_pixfmt(DWORD biCompression, WORD biBitCount)
return
PIX_FMT_NONE
;
return
PIX_FMT_NONE
;
}
}
static
enum
CodecID
dshow_codecid
(
DWORD
biCompression
)
static
enum
AV
CodecID
dshow_codecid
(
DWORD
biCompression
)
{
{
switch
(
biCompression
)
{
switch
(
biCompression
)
{
case
MKTAG
(
'd'
,
'v'
,
's'
,
'd'
):
case
MKTAG
(
'd'
,
'v'
,
's'
,
'd'
):
...
@@ -639,7 +639,7 @@ error:
...
@@ -639,7 +639,7 @@ error:
return
ret
;
return
ret
;
}
}
static
enum
CodecID
waveform_codec_id
(
enum
AVSampleFormat
sample_fmt
)
static
enum
AV
CodecID
waveform_codec_id
(
enum
AVSampleFormat
sample_fmt
)
{
{
switch
(
sample_fmt
)
{
switch
(
sample_fmt
)
{
case
AV_SAMPLE_FMT_U8
:
return
AV_CODEC_ID_PCM_U8
;
case
AV_SAMPLE_FMT_U8
:
return
AV_CODEC_ID_PCM_U8
;
...
...
libavdevice/openal-dec.c
View file @
bb2f13c1
...
@@ -48,7 +48,7 @@ typedef struct {
...
@@ -48,7 +48,7 @@ typedef struct {
typedef
struct
{
typedef
struct
{
ALCenum
al_fmt
;
ALCenum
al_fmt
;
enum
CodecID
codec_id
;
enum
AV
CodecID
codec_id
;
int
channels
;
int
channels
;
}
al_format_info
;
}
al_format_info
;
...
...
libavformat/cafenc.c
View file @
bb2f13c1
...
@@ -34,7 +34,7 @@ typedef struct {
...
@@ -34,7 +34,7 @@ typedef struct {
int
packets
;
int
packets
;
}
CAFContext
;
}
CAFContext
;
static
uint32_t
codec_flags
(
enum
CodecID
codec_id
)
{
static
uint32_t
codec_flags
(
enum
AV
CodecID
codec_id
)
{
switch
(
codec_id
)
{
switch
(
codec_id
)
{
case
AV_CODEC_ID_PCM_F32BE
:
case
AV_CODEC_ID_PCM_F32BE
:
case
AV_CODEC_ID_PCM_F64BE
:
case
AV_CODEC_ID_PCM_F64BE
:
...
@@ -51,7 +51,7 @@ static uint32_t codec_flags(enum CodecID codec_id) {
...
@@ -51,7 +51,7 @@ static uint32_t codec_flags(enum CodecID codec_id) {
}
}
}
}
static
uint32_t
samples_per_packet
(
enum
CodecID
codec_id
,
int
channels
)
{
static
uint32_t
samples_per_packet
(
enum
AV
CodecID
codec_id
,
int
channels
)
{
switch
(
codec_id
)
{
switch
(
codec_id
)
{
case
AV_CODEC_ID_PCM_S8
:
case
AV_CODEC_ID_PCM_S8
:
case
AV_CODEC_ID_PCM_S16LE
:
case
AV_CODEC_ID_PCM_S16LE
:
...
...
libavformat/mov.c
View file @
bb2f13c1
...
@@ -870,7 +870,7 @@ static int mov_read_fiel(MOVContext *c, AVIOContext *pb, MOVAtom atom)
...
@@ -870,7 +870,7 @@ static int mov_read_fiel(MOVContext *c, AVIOContext *pb, MOVAtom atom)
/* FIXME modify qdm2/svq3/h264 decoders to take full atom as extradata */
/* FIXME modify qdm2/svq3/h264 decoders to take full atom as extradata */
static
int
mov_read_extradata
(
MOVContext
*
c
,
AVIOContext
*
pb
,
MOVAtom
atom
,
static
int
mov_read_extradata
(
MOVContext
*
c
,
AVIOContext
*
pb
,
MOVAtom
atom
,
enum
CodecID
codec_id
)
enum
AV
CodecID
codec_id
)
{
{
AVStream
*
st
;
AVStream
*
st
;
uint64_t
size
;
uint64_t
size
;
...
...
libavformat/movenc.c
View file @
bb2f13c1
...
@@ -348,7 +348,7 @@ static int mov_write_esds_tag(AVIOContext *pb, MOVTrack *track) // Basic
...
@@ -348,7 +348,7 @@ static int mov_write_esds_tag(AVIOContext *pb, MOVTrack *track) // Basic
return
update_size
(
pb
,
pos
);
return
update_size
(
pb
,
pos
);
}
}
static
int
mov_pcm_le_gt16
(
enum
CodecID
codec_id
)
static
int
mov_pcm_le_gt16
(
enum
AV
CodecID
codec_id
)
{
{
return
codec_id
==
AV_CODEC_ID_PCM_S24LE
||
return
codec_id
==
AV_CODEC_ID_PCM_S24LE
||
codec_id
==
AV_CODEC_ID_PCM_S32LE
||
codec_id
==
AV_CODEC_ID_PCM_S32LE
||
...
...
libavformat/riff.c
View file @
bb2f13c1
...
@@ -733,7 +733,7 @@ void ff_get_guid(AVIOContext *s, ff_asf_guid *g)
...
@@ -733,7 +733,7 @@ void ff_get_guid(AVIOContext *s, ff_asf_guid *g)
memset
(
*
g
,
0
,
sizeof
(
*
g
));
memset
(
*
g
,
0
,
sizeof
(
*
g
));
}
}
enum
CodecID
ff_codec_guid_get_id
(
const
AVCodecGuid
*
guids
,
ff_asf_guid
guid
)
enum
AV
CodecID
ff_codec_guid_get_id
(
const
AVCodecGuid
*
guids
,
ff_asf_guid
guid
)
{
{
int
i
;
int
i
;
for
(
i
=
0
;
guids
[
i
].
id
!=
AV_CODEC_ID_NONE
;
i
++
)
{
for
(
i
=
0
;
guids
[
i
].
id
!=
AV_CODEC_ID_NONE
;
i
++
)
{
...
...
libavformat/riff.h
View file @
bb2f13c1
...
@@ -75,11 +75,11 @@ static av_always_inline int ff_guidcmp(const void *g1, const void *g2)
...
@@ -75,11 +75,11 @@ static av_always_inline int ff_guidcmp(const void *g1, const void *g2)
void
ff_get_guid
(
AVIOContext
*
s
,
ff_asf_guid
*
g
);
void
ff_get_guid
(
AVIOContext
*
s
,
ff_asf_guid
*
g
);
typedef
struct
{
typedef
struct
{
enum
CodecID
id
;
enum
AV
CodecID
id
;
ff_asf_guid
guid
;
ff_asf_guid
guid
;
}
AVCodecGuid
;
}
AVCodecGuid
;
enum
CodecID
ff_codec_guid_get_id
(
const
AVCodecGuid
*
guids
,
ff_asf_guid
guid
);
enum
AV
CodecID
ff_codec_guid_get_id
(
const
AVCodecGuid
*
guids
,
ff_asf_guid
guid
);
extern
const
AVCodecGuid
ff_codec_wav_guids
[];
extern
const
AVCodecGuid
ff_codec_wav_guids
[];
...
...
libavformat/wtvenc.c
View file @
bb2f13c1
...
@@ -113,7 +113,7 @@ static int write_pad(AVIOContext *pb, int size)
...
@@ -113,7 +113,7 @@ static int write_pad(AVIOContext *pb, int size)
return
0
;
return
0
;
}
}
static
const
ff_asf_guid
*
get_codec_guid
(
enum
CodecID
id
,
const
AVCodecGuid
*
av_guid
)
static
const
ff_asf_guid
*
get_codec_guid
(
enum
AV
CodecID
id
,
const
AVCodecGuid
*
av_guid
)
{
{
int
i
;
int
i
;
for
(
i
=
0
;
av_guid
[
i
].
id
!=
AV_CODEC_ID_NONE
;
i
++
)
{
for
(
i
=
0
;
av_guid
[
i
].
id
!=
AV_CODEC_ID_NONE
;
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