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
dcaf452a
Commit
dcaf452a
authored
Aug 29, 2005
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/demux/livedotcom.cpp: fixed segfaults.
parent
ba1d10cd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
modules/demux/livedotcom.cpp
modules/demux/livedotcom.cpp
+10
-2
No files found.
modules/demux/livedotcom.cpp
View file @
dcaf452a
...
...
@@ -425,7 +425,7 @@ static int Open ( vlc_object_t *p_this )
{
es_format_Init
(
&
tk
->
fmt
,
AUDIO_ES
,
VLC_FOURCC
(
'u'
,
'n'
,
'd'
,
'f'
)
);
tk
->
fmt
.
audio
.
i_channels
=
sub
->
numChannels
();
tk
->
fmt
.
audio
.
i_rate
=
sub
->
rtp
Source
()
->
t
imestampFrequency
();
tk
->
fmt
.
audio
.
i_rate
=
sub
->
rtp
T
imestampFrequency
();
if
(
!
strcmp
(
sub
->
codecName
(),
"MPA"
)
||
!
strcmp
(
sub
->
codecName
(),
"MPA-ROBUST"
)
||
...
...
@@ -457,6 +457,14 @@ static int Open ( vlc_object_t *p_this )
{
tk
->
fmt
.
i_codec
=
VLC_FOURCC
(
'a'
,
'l'
,
'a'
,
'w'
);
}
else
if
(
!
strcmp
(
sub
->
codecName
(),
"AMR"
)
)
{
tk
->
fmt
.
i_codec
=
VLC_FOURCC
(
's'
,
'a'
,
'm'
,
'r'
);
}
else
if
(
!
strcmp
(
sub
->
codecName
(),
"AMR-WB"
)
)
{
tk
->
fmt
.
i_codec
=
VLC_FOURCC
(
's'
,
'a'
,
'w'
,
'b'
);
}
else
if
(
!
strcmp
(
sub
->
codecName
(),
"MP4A-LATM"
)
)
{
unsigned
int
i_extra
;
...
...
@@ -778,7 +786,7 @@ static int Demux( demux_t *p_demux )
live_track_t
*
tk
=
p_sys
->
track
[
i
];
if
(
!
tk
->
b_muxed
&&
!
tk
->
b_rtcp_sync
&&
tk
->
rtpSource
->
hasBeenSynchronizedUsingRTCP
()
)
tk
->
rtpSource
&&
tk
->
rtpSource
->
hasBeenSynchronizedUsingRTCP
()
)
{
msg_Dbg
(
p_demux
,
"tk->rtpSource->hasBeenSynchronizedUsingRTCP()"
);
...
...
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