Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
e73ef76c
Commit
e73ef76c
authored
Nov 10, 2004
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avi: stupid bug fix for ODML file.
parent
cc727b4f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
6 deletions
+3
-6
modules/demux/avi/avi.c
modules/demux/avi/avi.c
+2
-2
modules/demux/avi/libavi.h
modules/demux/avi/libavi.h
+1
-4
No files found.
modules/demux/avi/avi.c
View file @
e73ef76c
...
@@ -2118,7 +2118,7 @@ static void AVI_IndexLoad_indx( demux_t *p_demux )
...
@@ -2118,7 +2118,7 @@ static void AVI_IndexLoad_indx( demux_t *p_demux )
}
}
else
if
(
p_indx
->
i_indextype
==
AVI_INDEX_OF_INDEXES
)
else
if
(
p_indx
->
i_indextype
==
AVI_INDEX_OF_INDEXES
)
{
{
avi_chunk_
indx_
t
ck_sub
;
avi_chunk_t
ck_sub
;
for
(
i
=
0
;
i
<
p_indx
->
i_entriesinuse
;
i
++
)
for
(
i
=
0
;
i
<
p_indx
->
i_entriesinuse
;
i
++
)
{
{
if
(
stream_Seek
(
p_demux
->
s
,
p_indx
->
idx
.
super
[
i
].
i_offset
)
||
if
(
stream_Seek
(
p_demux
->
s
,
p_indx
->
idx
.
super
[
i
].
i_offset
)
||
...
@@ -2126,7 +2126,7 @@ static void AVI_IndexLoad_indx( demux_t *p_demux )
...
@@ -2126,7 +2126,7 @@ static void AVI_IndexLoad_indx( demux_t *p_demux )
{
{
break
;
break
;
}
}
__Parse_indx
(
p_demux
,
i_stream
,
&
ck_sub
);
__Parse_indx
(
p_demux
,
i_stream
,
&
ck_sub
.
indx
);
}
}
}
}
else
else
...
...
modules/demux/avi/libavi.h
View file @
e73ef76c
...
@@ -224,10 +224,7 @@ int AVI_ChunkReadRoot( stream_t *, avi_chunk_t *p_root );
...
@@ -224,10 +224,7 @@ int AVI_ChunkReadRoot( stream_t *, avi_chunk_t *p_root );
void
AVI_ChunkFreeRoot
(
stream_t
*
,
avi_chunk_t
*
p_chk
);
void
AVI_ChunkFreeRoot
(
stream_t
*
,
avi_chunk_t
*
p_chk
);
#define AVI_ChunkRead( s, p_chk, p_father ) \
#define AVI_ChunkRead( s, p_chk, p_father ) \
_AVI_ChunkRead( s, \
_AVI_ChunkRead( s, p_chk, (avi_chunk_t*)p_father )
(avi_chunk_t*)p_chk, \
(avi_chunk_t*)p_father )
#define AVI_ChunkCount( p_chk, i_fourcc ) \
#define AVI_ChunkCount( p_chk, i_fourcc ) \
_AVI_ChunkCount( (avi_chunk_t*)p_chk, i_fourcc )
_AVI_ChunkCount( (avi_chunk_t*)p_chk, i_fourcc )
#define AVI_ChunkFind( p_chk, i_fourcc, i_number ) \
#define AVI_ChunkFind( p_chk, i_fourcc, i_number ) \
...
...
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