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
5d234974
Commit
5d234974
authored
Apr 23, 2003
by
Zdenek Kabelac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* more strict types
Originally committed as revision 1815 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
e738cee9
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
4 deletions
+5
-4
avcodec.h
libavcodec/avcodec.h
+1
-1
avi.h
libavformat/avi.h
+2
-1
avienc.c
libavformat/avienc.c
+2
-2
No files found.
libavcodec/avcodec.h
View file @
5d234974
...
...
@@ -1141,7 +1141,7 @@ int avoption_parse(void* strct, const AVOption* list, const char* opts);
*/
typedef
struct
AVCodec
{
const
char
*
name
;
int
type
;
enum
CodecType
type
;
int
id
;
int
priv_data_size
;
int
(
*
init
)(
AVCodecContext
*
);
...
...
libavformat/avi.h
View file @
5d234974
...
...
@@ -27,4 +27,5 @@ extern const CodecTag codec_bmp_tags[];
extern
const
CodecTag
codec_wav_tags
[];
unsigned
int
codec_get_tag
(
const
CodecTag
*
tags
,
int
id
);
int
codec_get_id
(
const
CodecTag
*
tags
,
unsigned
int
tag
);
enum
CodecID
;
enum
CodecID
codec_get_id
(
const
CodecTag
*
tags
,
unsigned
int
tag
);
libavformat/avienc.c
View file @
5d234974
...
...
@@ -185,14 +185,14 @@ static unsigned int codec_get_asf_tag(const CodecTag *tags, int id)
return
0
;
}
int
codec_get_id
(
const
CodecTag
*
tags
,
unsigned
int
tag
)
enum
CodecID
codec_get_id
(
const
CodecTag
*
tags
,
unsigned
int
tag
)
{
while
(
tags
->
id
!=
0
)
{
if
(
tags
->
tag
==
tag
)
return
tags
->
id
;
tags
++
;
}
return
0
;
return
CODEC_ID_NONE
;
}
unsigned
int
codec_get_bmp_tag
(
int
id
)
...
...
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