Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
5082f759
Commit
5082f759
authored
Feb 25, 2003
by
François Revol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
prettier debug output
Originally committed as revision 1607 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
dee076fc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
0 deletions
+22
-0
asf.c
libavformat/asf.c
+22
-0
No files found.
libavformat/asf.c
View file @
5082f759
...
...
@@ -659,14 +659,36 @@ static int asf_write_trailer(AVFormatContext *s)
//#define DEBUG
#ifdef DEBUG
#define PRINT_IF_GUID(g,cmp) \
if (!memcmp(g, &cmp, sizeof(GUID))) \
printf("(GUID: %s) ", #cmp)
static
void
print_guid
(
const
GUID
*
g
)
{
int
i
;
PRINT_IF_GUID
(
g
,
asf_header
);
else
PRINT_IF_GUID
(
g
,
file_header
);
else
PRINT_IF_GUID
(
g
,
stream_header
);
else
PRINT_IF_GUID
(
g
,
audio_stream
);
else
PRINT_IF_GUID
(
g
,
audio_conceal_none
);
else
PRINT_IF_GUID
(
g
,
video_stream
);
else
PRINT_IF_GUID
(
g
,
video_conceal_none
);
else
PRINT_IF_GUID
(
g
,
comment_header
);
else
PRINT_IF_GUID
(
g
,
codec_comment_header
);
else
PRINT_IF_GUID
(
g
,
codec_comment1_header
);
else
PRINT_IF_GUID
(
g
,
data_header
);
else
PRINT_IF_GUID
(
g
,
index_guid
);
else
PRINT_IF_GUID
(
g
,
head1_guid
);
else
PRINT_IF_GUID
(
g
,
head2_guid
);
else
PRINT_IF_GUID
(
g
,
my_guid
);
else
printf
(
"(GUID: unknown) "
);
printf
(
"0x%08x, 0x%04x, 0x%04x, {"
,
g
->
v1
,
g
->
v2
,
g
->
v3
);
for
(
i
=
0
;
i
<
8
;
i
++
)
printf
(
" 0x%02x,"
,
g
->
v4
[
i
]);
printf
(
"}
\n
"
);
}
#undef PRINT_IF_GUID(g,cmp)
#endif
static
void
get_guid
(
ByteIOContext
*
s
,
GUID
*
g
)
...
...
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