Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
小白菜888
Ffmpeg
提交
bb2f13c1
F
Ffmpeg
项目概览
小白菜888
/
Ffmpeg
通知
3
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
F
Ffmpeg
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
bb2f13c1
编写于
8月 07, 2012
作者:
M
Michael Niedermayer
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
rename missed CodecID to AVCodecID
Signed-off-by:
N
Michael Niedermayer
<
michaelni@gmx.at
>
上级
2fc7c818
变更
10
隐藏空白更改
内联
并排
Showing
10 changed file
with
13 addition
and
13 deletion
+13
-13
libavcodec/avcodec.h
libavcodec/avcodec.h
+1
-1
libavcodec/crystalhd.c
libavcodec/crystalhd.c
+1
-1
libavdevice/dshow.c
libavdevice/dshow.c
+2
-2
libavdevice/openal-dec.c
libavdevice/openal-dec.c
+1
-1
libavformat/cafenc.c
libavformat/cafenc.c
+2
-2
libavformat/mov.c
libavformat/mov.c
+1
-1
libavformat/movenc.c
libavformat/movenc.c
+1
-1
libavformat/riff.c
libavformat/riff.c
+1
-1
libavformat/riff.h
libavformat/riff.h
+2
-2
libavformat/wtvenc.c
libavformat/wtvenc.c
+1
-1
未找到文件。
libavcodec/avcodec.h
浏览文件 @
bb2f13c1
...
...
@@ -92,7 +92,7 @@
* 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),
* 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
{
AV_CODEC_ID_NONE
,
...
...
libavcodec/crystalhd.c
浏览文件 @
bb2f13c1
...
...
@@ -163,7 +163,7 @@ static const AVOption options[] = {
* 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
)
{
case
AV_CODEC_ID_MPEG4
:
...
...
libavdevice/dshow.c
浏览文件 @
bb2f13c1
...
...
@@ -92,7 +92,7 @@ static enum PixelFormat dshow_pixfmt(DWORD biCompression, WORD biBitCount)
return
PIX_FMT_NONE
;
}
static
enum
CodecID
dshow_codecid
(
DWORD
biCompression
)
static
enum
AV
CodecID
dshow_codecid
(
DWORD
biCompression
)
{
switch
(
biCompression
)
{
case
MKTAG
(
'd'
,
'v'
,
's'
,
'd'
):
...
...
@@ -639,7 +639,7 @@ error:
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
)
{
case
AV_SAMPLE_FMT_U8
:
return
AV_CODEC_ID_PCM_U8
;
...
...
libavdevice/openal-dec.c
浏览文件 @
bb2f13c1
...
...
@@ -48,7 +48,7 @@ typedef struct {
typedef
struct
{
ALCenum
al_fmt
;
enum
CodecID
codec_id
;
enum
AV
CodecID
codec_id
;
int
channels
;
}
al_format_info
;
...
...
libavformat/cafenc.c
浏览文件 @
bb2f13c1
...
...
@@ -34,7 +34,7 @@ typedef struct {
int
packets
;
}
CAFContext
;
static
uint32_t
codec_flags
(
enum
CodecID
codec_id
)
{
static
uint32_t
codec_flags
(
enum
AV
CodecID
codec_id
)
{
switch
(
codec_id
)
{
case
AV_CODEC_ID_PCM_F32BE
:
case
AV_CODEC_ID_PCM_F64BE
:
...
...
@@ -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
)
{
case
AV_CODEC_ID_PCM_S8
:
case
AV_CODEC_ID_PCM_S16LE
:
...
...
libavformat/mov.c
浏览文件 @
bb2f13c1
...
...
@@ -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 */
static
int
mov_read_extradata
(
MOVContext
*
c
,
AVIOContext
*
pb
,
MOVAtom
atom
,
enum
CodecID
codec_id
)
enum
AV
CodecID
codec_id
)
{
AVStream
*
st
;
uint64_t
size
;
...
...
libavformat/movenc.c
浏览文件 @
bb2f13c1
...
...
@@ -348,7 +348,7 @@ static int mov_write_esds_tag(AVIOContext *pb, MOVTrack *track) // Basic
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
||
codec_id
==
AV_CODEC_ID_PCM_S32LE
||
...
...
libavformat/riff.c
浏览文件 @
bb2f13c1
...
...
@@ -733,7 +733,7 @@ void ff_get_guid(AVIOContext *s, ff_asf_guid *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
;
for
(
i
=
0
;
guids
[
i
].
id
!=
AV_CODEC_ID_NONE
;
i
++
)
{
...
...
libavformat/riff.h
浏览文件 @
bb2f13c1
...
...
@@ -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
);
typedef
struct
{
enum
CodecID
id
;
enum
AV
CodecID
id
;
ff_asf_guid
guid
;
}
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
[];
...
...
libavformat/wtvenc.c
浏览文件 @
bb2f13c1
...
...
@@ -113,7 +113,7 @@ static int write_pad(AVIOContext *pb, int size)
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
;
for
(
i
=
0
;
av_guid
[
i
].
id
!=
AV_CODEC_ID_NONE
;
i
++
)
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录