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
f594dafc
Commit
f594dafc
authored
Aug 12, 2012
by
Nicolas George
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tools: add a script to find missing codec descriptors.
parent
71060007
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
37 additions
and
0 deletions
+37
-0
missing_codec_desc
tools/missing_codec_desc
+37
-0
No files found.
tools/missing_codec_desc
0 → 100755
View file @
f594dafc
#!/bin/sh
srcdir
=
${
0
%/*
}
/..
while
read
-r
field equal value
;
do
case
"
$field
$equal
"
in
".id ="
)
eval
"known_
${
value
%,
}
=1"
;;
esac
done
<
$srcdir
/libavcodec/codec_desc.c
known_AV_CODEC_ID_NONE
=
1
known_AV_CODEC_ID_FIRST_AUDIO
=
1
known_AV_CODEC_ID_FIRST_SUBTITLE
=
1
known_AV_CODEC_ID_FIRST_UNKNOWN
=
1
known_AV_CODEC_ID_TTF
=
1
known_AV_CODEC_ID_PROBE
=
1
known_AV_CODEC_ID_MPEG2TS
=
1
known_AV_CODEC_ID_MPEG4SYSTEMS
=
1
known_AV_CODEC_ID_FFMETADATA
=
1
in
=
0
while
read
-r
line
;
do
case
"
$in
-
$line
"
in
0-
"enum AVCodecID"
*
)
in
=
1
;;
1-
*
"};"
*
)
in
=
0
;;
1-
*
AV_CODEC_ID_
*
,
*
)
cid
=
"
${
line
%%[, =]*
}
"
eval
"known=
\$
known_
$cid
"
case
"
$known
"
in
1
)
;;
*
)
echo
"
$cid
missing"
;;
esac
;;
esac
done
<
$srcdir
/libavcodec/avcodec.h
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