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
ea52acf7
Commit
ea52acf7
authored
May 24, 2012
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
AVI: better debug
parent
bfd3b95b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
modules/demux/avi/libavi.c
modules/demux/avi/libavi.c
+4
-2
No files found.
modules/demux/avi/libavi.c
View file @
ea52acf7
...
...
@@ -67,8 +67,7 @@ static int AVI_ChunkReadCommon( stream_t *s, avi_chunk_t *p_chk )
#ifdef AVI_DEBUG
msg_Dbg
(
(
vlc_object_t
*
)
s
,
"found Chunk fourcc:%8.8x (%4.4s) size:%"
PRId64
" pos:%"
PRId64
,
p_chk
->
common
.
i_chunk_fourcc
,
"found chunk, fourcc: %4.4s size:%"
PRId64
" pos:%"
PRId64
,
(
char
*
)
&
p_chk
->
common
.
i_chunk_fourcc
,
p_chk
->
common
.
i_chunk_size
,
p_chk
->
common
.
i_chunk_pos
);
...
...
@@ -790,6 +789,7 @@ int AVI_ChunkRead( stream_t *s, avi_chunk_t *p_chk, avi_chunk_t *p_father )
if
(
!
p_chk
)
{
msg_Warn
(
(
vlc_object_t
*
)
s
,
"cannot read null chunk"
);
return
VLC_EGENERIC
;
}
...
...
@@ -798,6 +798,7 @@ int AVI_ChunkRead( stream_t *s, avi_chunk_t *p_chk, avi_chunk_t *p_father )
msg_Warn
(
(
vlc_object_t
*
)
s
,
"cannot read one chunk"
);
return
VLC_EGENERIC
;
}
if
(
p_chk
->
common
.
i_chunk_fourcc
==
VLC_FOURCC
(
0
,
0
,
0
,
0
)
)
{
msg_Warn
(
(
vlc_object_t
*
)
s
,
"found null fourcc chunk (corrupted file?)"
);
...
...
@@ -818,6 +819,7 @@ 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: %4.4s (not loaded)"
,
(
char
*
)
&
p_chk
->
common
.
i_chunk_fourcc
);
return
AVI_NextChunk
(
s
,
p_chk
);
...
...
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