Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-1.1
Commits
d8e0caa1
Commit
d8e0caa1
authored
Jan 30, 2004
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* rtp: fixed mpeg4 audio. && was used instead of &, arggg :(
parent
26c083a4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
modules/stream_out/rtp.c
modules/stream_out/rtp.c
+3
-3
No files found.
modules/stream_out/rtp.c
View file @
d8e0caa1
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* rtp.c: rtp stream output module
* rtp.c: rtp stream output module
*****************************************************************************
*****************************************************************************
* Copyright (C) 2003-2004 VideoLAN
* Copyright (C) 2003-2004 VideoLAN
* $Id: rtp.c,v 1.
9 2004/01/30 15:56:28
fenrir Exp $
* $Id: rtp.c,v 1.
10 2004/01/30 16:45:40
fenrir Exp $
*
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
*
...
@@ -1124,8 +1124,8 @@ static int rtp_packetize_mp4a( sout_stream_t *p_stream, sout_stream_id_t *id,
...
@@ -1124,8 +1124,8 @@ static int rtp_packetize_mp4a( sout_stream_t *p_stream, sout_stream_id_t *id,
out
->
p_buffer
[
12
]
=
0
;
out
->
p_buffer
[
12
]
=
0
;
out
->
p_buffer
[
13
]
=
2
*
8
;
out
->
p_buffer
[
13
]
=
2
*
8
;
/* for each AU length 13 bits + idx 3bits, */
/* for each AU length 13 bits + idx 3bits, */
out
->
p_buffer
[
14
]
=
(
in
->
i_size
>>
5
)
&
&
0xff
;
out
->
p_buffer
[
14
]
=
(
in
->
i_size
>>
5
)
&
0xff
;
out
->
p_buffer
[
15
]
=
(
(
in
->
i_size
&
&
0xff
)
<<
3
)
|
0
;
out
->
p_buffer
[
15
]
=
(
(
in
->
i_size
&
0xff
)
<<
3
)
|
0
;
memcpy
(
&
out
->
p_buffer
[
16
],
p_data
,
i_payload
);
memcpy
(
&
out
->
p_buffer
[
16
],
p_data
,
i_payload
);
...
...
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