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
ad917f5d
Commit
ad917f5d
authored
Jan 30, 2004
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* rtp: fixed a bug that corrupt video/audio config data.
parent
6cecc677
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
modules/stream_out/rtp.c
modules/stream_out/rtp.c
+6
-6
No files found.
modules/stream_out/rtp.c
View file @
ad917f5d
...
...
@@ -2,7 +2,7 @@
* rtp.c: rtp stream output module
*****************************************************************************
* Copyright (C) 2003-2004 VideoLAN
* $Id: rtp.c,v 1.
8 2004/01/25 14:34:25 gbazin
Exp $
* $Id: rtp.c,v 1.
9 2004/01/30 15:56:28 fenrir
Exp $
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
...
...
@@ -462,7 +462,7 @@ static void sprintf_hexa( char *s, uint8_t *p_data, int i_data )
for
(
i
=
0
;
i
<
i_data
;
i
++
)
{
s
[
2
*
i
+
0
]
=
hex
[(
p_data
[
i
]
>>
8
)
&
0xf
];
s
[
2
*
i
+
0
]
=
hex
[(
p_data
[
i
]
>>
4
)
&
0xf
];
s
[
2
*
i
+
1
]
=
hex
[(
p_data
[
i
]
)
&
0xf
];
}
s
[
2
*
i_data
]
=
'\0'
;
...
...
@@ -582,7 +582,7 @@ static sout_stream_id_t *Add( sout_stream_t *p_stream, es_format_t *p_fmt )
id
->
psz_fmtp
=
malloc
(
100
+
2
*
p_fmt
->
i_extra
);
sprintf_hexa
(
hexa
,
p_fmt
->
p_extra
,
p_fmt
->
i_extra
);
sprintf
(
id
->
psz_fmtp
,
"profile-level-id=3;
config=%s"
,
hexa
);
"profile-level-id=3;config=%s"
,
hexa
);
}
break
;
}
...
...
@@ -598,9 +598,9 @@ static sout_stream_id_t *Add( sout_stream_t *p_stream, es_format_t *p_fmt )
id
->
psz_fmtp
=
malloc
(
200
+
2
*
p_fmt
->
i_extra
);
sprintf_hexa
(
hexa
,
p_fmt
->
p_extra
,
p_fmt
->
i_extra
);
sprintf
(
id
->
psz_fmtp
,
"streamtype=5;
profile-level-id=15; mode=AAC-hbr;
"
"config=%s;
SizeLength=13;
IndexLength=3; "
"IndexDeltaLength=3;
Profile=1;"
,
hexa
);
"streamtype=5;
profile-level-id=15;mode=AAC-hbr;
"
"config=%s;
SizeLength=13;
IndexLength=3; "
"IndexDeltaLength=3;Profile=1;"
,
hexa
);
break
;
}
...
...
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