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
9c9b0218
Commit
9c9b0218
authored
Feb 25, 2015
by
Martin Storsjö
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rtpenc_aac: Merge a definition with a declaration
Signed-off-by:
Martin Storsjö
<
martin@martin.st
>
parent
1fc64e2e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
rtpenc_aac.c
libavformat/rtpenc_aac.c
+2
-3
No files found.
libavformat/rtpenc_aac.c
View file @
9c9b0218
...
...
@@ -25,16 +25,15 @@
void
ff_rtp_send_aac
(
AVFormatContext
*
s1
,
const
uint8_t
*
buff
,
int
size
)
{
RTPMuxContext
*
s
=
s1
->
priv_data
;
int
len
,
max_packet_size
;
uint8_t
*
p
;
const
int
max_au_headers_size
=
2
+
2
*
s
->
max_frames_per_packet
;
int
len
,
max_packet_size
=
s
->
max_payload_size
-
max_au_headers_size
;
uint8_t
*
p
;
/* skip ADTS header, if present */
if
((
s1
->
streams
[
0
]
->
codec
->
extradata_size
)
==
0
)
{
size
-=
7
;
buff
+=
7
;
}
max_packet_size
=
s
->
max_payload_size
-
max_au_headers_size
;
/* test if the packet must be sent */
len
=
(
s
->
buf_ptr
-
s
->
buf
);
...
...
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