Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
ebf5468e
Commit
ebf5468e
authored
Jul 16, 2010
by
Juho Vähä-Herttua
Committed by
Jean-Baptiste Kempf
Jul 17, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
asf: Fix packet length handling to be correct
Signed-off-by:
Jean-Baptiste Kempf
<
jb@videolan.org
>
parent
f4142bc8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
modules/demux/asf/asf.c
modules/demux/asf/asf.c
+8
-2
No files found.
modules/demux/asf/asf.c
View file @
ebf5468e
...
...
@@ -466,11 +466,17 @@ static int DemuxPacket( demux_t *p_demux )
goto
loop_error_recovery
;
}
if
(
i_packet_length
<
i_data_packet_min
)
{
/* if packet length too short, there is extra padding */
i_packet_padding_length
+=
i_data_packet_min
-
i_packet_length
;
i_packet_length
=
i_data_packet_min
;
}
i_packet_send_time
=
GetDWLE
(
p_peek
+
i_skip
);
i_skip
+=
4
;
i_packet_duration
=
GetWLE
(
p_peek
+
i_skip
);
i_skip
+=
2
;
/* FIXME I have to do that for some file, I don't known why */
i_packet_size_left
=
i_data_packet_min
/*i_packet_length*/
;
i_packet_size_left
=
i_packet_length
;
if
(
b_packet_multiple_payload
)
{
...
...
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