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
1cea6f76
Commit
1cea6f76
authored
May 24, 2012
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
AVI: better debug
parent
68c2317b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
5 deletions
+8
-5
modules/demux/avi/avi.c
modules/demux/avi/avi.c
+2
-2
modules/demux/avi/libavi.c
modules/demux/avi/libavi.c
+6
-3
No files found.
modules/demux/avi/avi.c
View file @
1cea6f76
...
...
@@ -335,13 +335,13 @@ static int Open( vlc_object_t * p_this )
if
(
!
p_hdrl
||
!
p_movi
)
{
msg_Err
(
p_demux
,
"
avi module discarded (invalid file)
"
);
msg_Err
(
p_demux
,
"
invalid file: cannot find hdrl or movi chunks
"
);
goto
error
;
}
if
(
!
(
p_avih
=
AVI_ChunkFind
(
p_hdrl
,
AVIFOURCC_avih
,
0
)
)
)
{
msg_Err
(
p_demux
,
"cannot find avih chunk"
);
msg_Err
(
p_demux
,
"
invalid file:
cannot find avih chunk"
);
goto
error
;
}
i_track
=
AVI_ChunkCount
(
p_hdrl
,
AVIFOURCC_strl
);
...
...
modules/demux/avi/libavi.c
View file @
1cea6f76
...
...
@@ -418,7 +418,8 @@ static int AVI_ChunkRead_strf( stream_t *s, avi_chunk_t *p_chk )
#endif
break
;
default:
msg_Warn
(
(
vlc_object_t
*
)
s
,
"unknown stream type"
);
msg_Warn
(
(
vlc_object_t
*
)
s
,
"unknown stream type: %4.4s"
,
(
char
*
)
&
p_strh
->
strh
.
i_type
);
p_chk
->
strf
.
common
.
i_cat
=
UNKNOWN_ES
;
break
;
}
...
...
@@ -817,7 +818,8 @@ int _AVI_ChunkRead( stream_t *s, avi_chunk_t *p_chk, avi_chunk_t *p_father )
p_chk
->
common
.
i_chunk_fourcc
=
AVIFOURCC_indx
;
return
AVI_ChunkRead_indx
(
s
,
p_chk
);
}
msg_Warn
(
(
vlc_object_t
*
)
s
,
"unknown chunk (not loaded)"
);
msg_Warn
(
(
vlc_object_t
*
)
s
,
"unknown chunk: %4.4s (not loaded)"
,
(
char
*
)
&
p_chk
->
common
.
i_chunk_fourcc
);
return
AVI_NextChunk
(
s
,
p_chk
);
}
...
...
@@ -853,7 +855,8 @@ void _AVI_ChunkFree( stream_t *s,
}
else
{
msg_Warn
(
(
vlc_object_t
*
)
s
,
"unknown chunk (not unloaded)"
);
msg_Warn
(
(
vlc_object_t
*
)
s
,
"unknown chunk: %4.4s (not unloaded)"
,
(
char
*
)
&
p_chk
->
common
.
i_chunk_fourcc
);
}
p_chk
->
common
.
p_first
=
NULL
;
p_chk
->
common
.
p_last
=
NULL
;
...
...
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