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
cd70eeac
Commit
cd70eeac
authored
Nov 28, 2002
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* asf: fix my previous commit.
parent
8dc9156f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
modules/demux/asf/asf.c
modules/demux/asf/asf.c
+7
-6
No files found.
modules/demux/asf/asf.c
View file @
cd70eeac
...
...
@@ -2,7 +2,7 @@
* asf.c : ASFv01 file input module for vlc
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: asf.c,v 1.
9 2002/11/28 16:32:2
9 fenrir Exp $
* $Id: asf.c,v 1.
10 2002/11/28 18:35:1
9 fenrir Exp $
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
* This program is free software; you can redistribute it and/or modify
...
...
@@ -255,7 +255,8 @@ static int Activate( vlc_object_t * p_this )
p_wf
->
nAvgBytesPerSec
=
GetDWLE
(
p_data
+
8
);
p_wf
->
nBlockAlign
=
GetWLE
(
p_data
+
12
);
p_wf
->
wBitsPerSample
=
GetWLE
(
p_data
+
14
);
p_wf
->
cbSize
=
i_size
-
sizeof
(
WAVEFORMATEX
);
p_wf
->
cbSize
=
__MAX
(
0
,
i_size
-
sizeof
(
WAVEFORMATEX
));
if
(
i_size
>
sizeof
(
WAVEFORMATEX
)
)
{
memcpy
(
(
uint8_t
*
)
p_stream
->
p_es
->
p_demux_data
+
sizeof
(
WAVEFORMATEX
),
...
...
@@ -275,10 +276,10 @@ static int Activate( vlc_object_t * p_this )
if
(
p_sp
->
p_type_specific_data
)
{
p_stream
->
p_es
->
i_fourcc
=
VLC_FOURCC
(
p_sp
->
p_type_specific_data
+
27
,
p_sp
->
p_type_specific_data
+
28
,
p_sp
->
p_type_specific_data
+
29
,
p_sp
->
p_type_specific_data
+
30
);
VLC_FOURCC
(
p_sp
->
p_type_specific_data
[
27
]
,
p_sp
->
p_type_specific_data
[
28
]
,
p_sp
->
p_type_specific_data
[
29
]
,
p_sp
->
p_type_specific_data
[
30
]
);
}
else
{
...
...
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