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
9c434ce8
Commit
9c434ce8
authored
May 18, 2011
by
Martin Storsjö
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sdp: Reindent after the previous commit
Signed-off-by:
Martin Storsjö
<
martin@martin.st
>
parent
08321228
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
18 deletions
+18
-18
sdp.c
libavformat/sdp.c
+18
-18
No files found.
libavformat/sdp.c
View file @
9c434ce8
...
...
@@ -412,24 +412,24 @@ static char *sdp_write_media_attributes(char *buff, int size, AVCodecContext *c,
payload_type
,
c
->
sample_rate
,
c
->
channels
,
payload_type
,
latm_context2profilelevel
(
c
),
config
);
}
else
{
if
(
c
->
extradata_size
)
{
config
=
extradata2config
(
c
);
}
else
{
/* FIXME: maybe we can forge config information based on the
* codec parameters...
*/
av_log
(
c
,
AV_LOG_ERROR
,
"AAC with no global headers is currently not supported.
\n
"
);
return
NULL
;
}
if
(
config
==
NULL
)
{
return
NULL
;
}
av_strlcatf
(
buff
,
size
,
"a=rtpmap:%d MPEG4-GENERIC/%d/%d
\r\n
"
"a=fmtp:%d profile-level-id=1;"
"mode=AAC-hbr;sizelength=13;indexlength=3;"
"indexdeltalength=3%s
\r\n
"
,
payload_type
,
c
->
sample_rate
,
c
->
channels
,
payload_type
,
config
);
if
(
c
->
extradata_size
)
{
config
=
extradata2config
(
c
);
}
else
{
/* FIXME: maybe we can forge config information based on the
* codec parameters...
*/
av_log
(
c
,
AV_LOG_ERROR
,
"AAC with no global headers is currently not supported.
\n
"
);
return
NULL
;
}
if
(
config
==
NULL
)
{
return
NULL
;
}
av_strlcatf
(
buff
,
size
,
"a=rtpmap:%d MPEG4-GENERIC/%d/%d
\r\n
"
"a=fmtp:%d profile-level-id=1;"
"mode=AAC-hbr;sizelength=13;indexlength=3;"
"indexdeltalength=3%s
\r\n
"
,
payload_type
,
c
->
sample_rate
,
c
->
channels
,
payload_type
,
config
);
}
break
;
case
CODEC_ID_PCM_S16BE
:
...
...
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