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
52182a28
Commit
52182a28
authored
Jan 26, 2003
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* avi : fix play back for some broken avi
parent
437957ac
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
modules/demux/avi/avi.c
modules/demux/avi/avi.c
+3
-2
No files found.
modules/demux/avi/avi.c
View file @
52182a28
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* avi.c : AVI file Stream input module for vlc
* avi.c : AVI file Stream input module for vlc
*****************************************************************************
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* Copyright (C) 2001 VideoLAN
* $Id: avi.c,v 1.3
2 2003/01/25 17:57:36
fenrir Exp $
* $Id: avi.c,v 1.3
3 2003/01/26 12:34:47
fenrir Exp $
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
*
* This program is free software; you can redistribute it and/or modify
* This program is free software; you can redistribute it and/or modify
...
@@ -1744,7 +1744,7 @@ static int AVIDemux_Seekable( input_thread_t *p_input )
...
@@ -1744,7 +1744,7 @@ static int AVIDemux_Seekable( input_thread_t *p_input )
mtime_t
i_date
;
mtime_t
i_date
;
int
i_percent
;
int
i_percent
;
/* first wait for empty buffer, arbitrary time FIXME */
/* first wait for empty buffer, arbitrary time FIXME */
//
msleep( DEFAULT_PTS_DELAY );
msleep
(
DEFAULT_PTS_DELAY
);
i_date
=
(
mtime_t
)
1000000
*
i_date
=
(
mtime_t
)
1000000
*
(
mtime_t
)
p_avi
->
i_length
*
(
mtime_t
)
p_avi
->
i_length
*
...
@@ -1995,6 +1995,7 @@ static int AVIDemux_Seekable( input_thread_t *p_input )
...
@@ -1995,6 +1995,7 @@ static int AVIDemux_Seekable( input_thread_t *p_input )
if
(
input_ReadInPES
(
p_input
,
&
p_pes
,
__EVEN
(
i_size
)
)
<
0
)
if
(
input_ReadInPES
(
p_input
,
&
p_pes
,
__EVEN
(
i_size
)
)
<
0
)
{
{
msg_Warn
(
p_input
,
"failled reading data"
);
msg_Warn
(
p_input
,
"failled reading data"
);
AVI_StreamStop
(
p_input
,
p_avi
,
i_stream
);
toread
[
i_stream
].
b_ok
=
VLC_FALSE
;
toread
[
i_stream
].
b_ok
=
VLC_FALSE
;
continue
;
continue
;
}
}
...
...
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