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
f8413f74
Commit
f8413f74
authored
Apr 03, 2015
by
Carl Eugen Hoyos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavf/mpeg: Support more audio codecs in Hikvision CCTV recordings.
Fixes a sample from ticket #4182.
parent
5b97681e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
mpeg.c
libavformat/mpeg.c
+2
-0
No files found.
libavformat/mpeg.c
View file @
f8413f74
...
@@ -549,6 +549,8 @@ redo:
...
@@ -549,6 +549,8 @@ redo:
request_probe
=
50
;
request_probe
=
50
;
}
else
{
}
else
{
codec_id
=
AV_CODEC_ID_MP2
;
codec_id
=
AV_CODEC_ID_MP2
;
if
(
m
->
imkh_cctv
)
request_probe
=
25
;
}
}
}
else
if
(
startcode
>=
0x80
&&
startcode
<=
0x87
)
{
}
else
if
(
startcode
>=
0x80
&&
startcode
<=
0x87
)
{
type
=
AVMEDIA_TYPE_AUDIO
;
type
=
AVMEDIA_TYPE_AUDIO
;
...
...
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