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
b8c0db99
Commit
b8c0db99
authored
Oct 11, 2009
by
Carl Eugen Hoyos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow autodetection of E-AC3.
Originally committed as revision 20206 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
a9b02043
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
utils.c
libavformat/utils.c
+3
-0
No files found.
libavformat/utils.c
View file @
b8c0db99
...
...
@@ -329,6 +329,9 @@ static int set_codec_from_probe_data(AVFormatContext *s, AVStream *st, AVProbeDa
}
else
if
(
!
strcmp
(
fmt
->
name
,
"ac3"
))
{
st
->
codec
->
codec_id
=
CODEC_ID_AC3
;
st
->
codec
->
codec_type
=
CODEC_TYPE_AUDIO
;
}
else
if
(
!
strcmp
(
fmt
->
name
,
"eac3"
))
{
st
->
codec
->
codec_id
=
CODEC_ID_EAC3
;
st
->
codec
->
codec_type
=
CODEC_TYPE_AUDIO
;
}
else
if
(
!
strcmp
(
fmt
->
name
,
"mpegvideo"
))
{
st
->
codec
->
codec_id
=
CODEC_ID_MPEG2VIDEO
;
st
->
codec
->
codec_type
=
CODEC_TYPE_VIDEO
;
...
...
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