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
c643ba81
Commit
c643ba81
authored
Oct 27, 2011
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mpegts: Fix detection of some raw AAC
Fixes Ticket577 Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
abe17c69
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
mpegts.c
libavformat/mpegts.c
+5
-3
No files found.
libavformat/mpegts.c
View file @
c643ba81
...
...
@@ -961,15 +961,17 @@ int ff_parse_mpeg2_descriptor(AVFormatContext *fc, AVStream *st, int stream_type
switch
(
desc_tag
)
{
case
0x1F
:
/* FMC descriptor */
get16
(
pp
,
desc_end
);
if
(
st
->
codec
->
codec_id
==
CODEC_ID_AAC_LATM
&&
if
(
(
st
->
codec
->
codec_id
==
CODEC_ID_AAC_LATM
||
st
->
request_probe
>
0
)
&&
mp4_dec_config_descr_len
&&
mp4_es_id
==
pid
)
{
AVIOContext
pb
;
ffio_init_context
(
&
pb
,
mp4_dec_config_descr
,
mp4_dec_config_descr_len
,
0
,
NULL
,
NULL
,
NULL
,
NULL
);
ff_mp4_read_dec_config_descr
(
fc
,
st
,
&
pb
);
if
(
st
->
codec
->
codec_id
==
CODEC_ID_AAC
&&
st
->
codec
->
extradata_size
>
0
)
st
->
need_parsing
=
0
;
st
->
codec
->
extradata_size
>
0
){
st
->
request_probe
=
st
->
need_parsing
=
0
;
st
->
codec
->
codec_type
=
AVMEDIA_TYPE_AUDIO
;
}
}
break
;
case
0x56
:
/* DVB teletext descriptor */
...
...
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