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
592dee30
Commit
592dee30
authored
Nov 25, 2002
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mms.c: fix command/packet parsing functions.
parent
d54e11ed
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
modules/access/mms/mms.c
modules/access/mms/mms.c
+4
-2
No files found.
modules/access/mms/mms.c
View file @
592dee30
...
...
@@ -2,7 +2,7 @@
* mms.c: MMS access plug-in
*****************************************************************************
* Copyright (C) 2001, 2002 VideoLAN
* $Id: mms.c,v 1.
8 2002/11/25 15:08
:34 fenrir Exp $
* $Id: mms.c,v 1.
9 2002/11/25 19:12
:34 fenrir Exp $
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
...
...
@@ -1458,7 +1458,7 @@ static int NetFillBuffer( input_thread_t *p_input )
i_udp_read
=
0
;
}
#if
0
#if
1
if
(
p_access
->
i_proto
==
MMS_PROTO_UDP
)
{
msg_Dbg
(
p_input
,
...
...
@@ -1566,6 +1566,7 @@ static int mms_ParsePacket( input_thread_t *p_input,
uint8_t
*
p_packet
;
// *pi_used = i_data; /* default */
*
pi_used
=
i_data
;
/* default */
if
(
i_data
<=
8
)
{
...
...
@@ -1583,6 +1584,7 @@ static int mms_ParsePacket( input_thread_t *p_input,
msg_Warn
(
p_input
,
"truncated packet (missing %d bytes)"
,
i_packet_length
-
i_data
);
*
pi_used
=
0
;
return
(
-
1
);
}
else
if
(
i_packet_length
<
i_data
)
...
...
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