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
b8df288b
Commit
b8df288b
authored
Jun 05, 2004
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* livedotcom: small warning fix for old version.
parent
b3900df7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
modules/demux/livedotcom.cpp
modules/demux/livedotcom.cpp
+5
-5
No files found.
modules/demux/livedotcom.cpp
View file @
b8df288b
...
...
@@ -939,9 +939,9 @@ static void StreamRead( void *p_private, unsigned int i_size, struct timeval pts
#endif
if
(
tk
->
fmt
.
i_codec
==
VLC_FOURCC
(
'h'
,
'2'
,
'6'
,
'1'
)
)
{
i_size
+=
4
;
i_size
+=
4
;
}
if
(
i_size
>
65536
)
{
msg_Warn
(
p_demux
,
"buffer overflow"
);
...
...
@@ -950,15 +950,15 @@ static void StreamRead( void *p_private, unsigned int i_size, struct timeval pts
p_block
=
block_New
(
p_demux
,
i_size
);
if
(
tk
->
fmt
.
i_codec
==
VLC_FOURCC
(
'h'
,
'2'
,
'6'
,
'1'
)
)
{
H261VideoRTPSource
*
h261Source
=
(
H261VideoRTPSource
*
)
tk
->
rtpSource
;
#if LIVEMEDIA_LIBRARY_VERSION_INT >= 1081468800
H261VideoRTPSource
*
h261Source
=
(
H261VideoRTPSource
*
)
tk
->
rtpSource
;
uint32_t
header
=
h261Source
->
lastSpecialHeader
();
#else
uint32_t
header
=
0
;
msg_Warn
(
p_demux
,
"need livemedia library >=
\"
2004.04.09
\"
"
);
#endif
memcpy
(
p_block
->
p_buffer
,
&
header
,
4
);
memcpy
(
p_block
->
p_buffer
+
4
,
tk
->
buffer
,
i_size
);
memcpy
(
p_block
->
p_buffer
+
4
,
tk
->
buffer
,
i_size
);
}
else
{
...
...
@@ -966,7 +966,7 @@ static void StreamRead( void *p_private, unsigned int i_size, struct timeval pts
}
if
(
tk
->
fmt
.
i_codec
==
VLC_FOURCC
(
'h'
,
'2'
,
'6'
,
'1'
)
&&
tk
->
rtpSource
->
curPacketMarkerBit
()
)
{
{
p_block
->
i_flags
|=
BLOCK_FLAG_END_OF_FRAME
;
}
//p_block->i_rate = p_input->stream.control.i_rate;
...
...
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