Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
4cf2f458
Commit
4cf2f458
authored
Mar 13, 2004
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* asf: fixed unintialised variable, cleaned up some stuffs.
* mmsh: big rework of the mmsh module.
parent
a9ddba27
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
265 additions
and
516 deletions
+265
-516
modules/access/mms/asf.c
modules/access/mms/asf.c
+3
-1
modules/access/mms/asf.h
modules/access/mms/asf.h
+1
-3
modules/access/mms/mmsh.c
modules/access/mms/mmsh.c
+258
-483
modules/access/mms/mmsh.h
modules/access/mms/mmsh.h
+3
-29
No files found.
modules/access/mms/asf.c
View file @
4cf2f458
...
...
@@ -2,7 +2,7 @@
* asf.c: MMS access plug-in
*****************************************************************************
* Copyright (C) 2001, 2002 VideoLAN
* $Id
: asf.c,v 1.3 2004/02/12 20:09:38 fenrir Exp
$
* $Id$
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
...
...
@@ -73,6 +73,8 @@ void E_( asf_HeaderParse ) ( asf_header_t *hdr,
for
(
i
=
0
;
i
<
128
;
i
++
)
{
hdr
->
stream
[
i
].
i_cat
=
ASF_STREAM_UNKNOWN
;
hdr
->
stream
[
i
].
i_selected
=
0
;
hdr
->
stream
[
i
].
i_bitrate
=
-
1
;
}
//fprintf( stderr, " ---------------------header:%d\n", i_header );
...
...
modules/access/mms/asf.h
View file @
4cf2f458
...
...
@@ -2,7 +2,7 @@
* asf.h: MMS access plug-in
*****************************************************************************
* Copyright (C) 2001, 2002 VideoLAN
* $Id
: asf.h,v 1.5 2003/04/20 19:29:43 fenrir Exp
$
* $Id$
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
...
...
@@ -34,11 +34,9 @@
typedef
struct
asf_stream_s
{
int
i_id
;
/* 1 -> 127 */
int
i_cat
;
/* ASF_STREAM_VIDEO, ASF_STREAM_AUDIO */
int
i_bitrate
;
/* -1 if unknown */
int
i_selected
;
}
asf_stream_t
;
typedef
struct
...
...
modules/access/mms/mmsh.c
View file @
4cf2f458
This diff is collapsed.
Click to expand it.
modules/access/mms/mmsh.h
View file @
4cf2f458
...
...
@@ -2,7 +2,7 @@
* mmsh.h:
*****************************************************************************
* Copyright (C) 2001, 2002 VideoLAN
* $Id
: mmsh.h,v 1.5 2004/01/21 16:56:16 fenrir Exp
$
* $Id$
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
...
...
@@ -36,18 +36,16 @@ typedef struct
}
chunk_t
;
#define BUFFER_SIZE
150000
#define BUFFER_SIZE
65536
struct
access_sys_t
{
int
i_proto
;
int
fd
;
url_t
*
p_
url
;
vlc_url_t
url
;
int
i_request_context
;
int
i_buffer
;
int
i_buffer_pos
;
uint8_t
buffer
[
BUFFER_SIZE
+
1
];
vlc_bool_t
b_broadcast
;
...
...
@@ -65,27 +63,3 @@ struct access_sys_t
asf_header_t
asfh
;
guid_t
guid
;
};
typedef
struct
http_field_s
{
char
*
psz_name
;
char
*
psz_value
;
struct
http_field_s
*
p_next
;
}
http_field_t
;
typedef
struct
{
int
i_version
;
int
i_error
;
char
*
psz_answer
;
http_field_t
*
p_fields
;
uint8_t
*
p_body
;
int
i_body
;
}
http_answer_t
;
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