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
5148a2ae
Commit
5148a2ae
authored
Mar 12, 2006
by
Baptiste Coudurier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix conversion types in dprintf
Originally committed as revision 5153 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
0ab16fe0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
mov.c
libavformat/mov.c
+3
-3
No files found.
libavformat/mov.c
View file @
5148a2ae
...
...
@@ -439,7 +439,7 @@ static int mov_read_default(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)
}
total_size
+=
8
;
a
.
offset
+=
8
;
dprintf
(
"type: %08x %.4s sz: %
Lx %Lx %Lx
\n
"
,
a
.
type
,
(
char
*
)
&
a
.
type
,
a
.
size
,
atom
.
size
,
total_size
);
dprintf
(
"type: %08x %.4s sz: %
PRIx64 %PRIx64 %PRIx64
\n
"
,
a
.
type
,
(
char
*
)
&
a
.
type
,
a
.
size
,
atom
.
size
,
total_size
);
if
(
a
.
size
==
1
)
{
/* 64 bit extended size */
a
.
size
=
get_be64
(
pb
)
-
8
;
a
.
offset
+=
8
;
...
...
@@ -738,7 +738,7 @@ static int mov_read_smi(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)
if
(
st
->
codec
->
extradata
)
{
strcpy
(
st
->
codec
->
extradata
,
"SVQ3"
);
// fake
get_buffer
(
pb
,
st
->
codec
->
extradata
+
0x5a
,
atom
.
size
);
dprintf
(
"Reading SMI %
Ld
%s
\n
"
,
atom
.
size
,
(
char
*
)
st
->
codec
->
extradata
+
0x5a
);
dprintf
(
"Reading SMI %
PRId64
%s
\n
"
,
atom
.
size
,
(
char
*
)
st
->
codec
->
extradata
+
0x5a
);
}
else
url_fskip
(
pb
,
atom
.
size
);
...
...
@@ -1717,7 +1717,7 @@ again:
}
dts
=
time
+
(
msc
->
current_sample
-
1
-
sample
)
*
(
int64_t
)
duration
;
dts
=
av_rescale
(
dts
,
AV_TIME_BASE
,
msc
->
time_scale
);
dprintf
(
"stream: %d dts: %
Ld best_dts: %Ld offset: %Ld
\n
"
,
i
,
dts
,
best_dts
,
offset
);
dprintf
(
"stream: %d dts: %
PRId64 best_dts: %PRId64 offset: %PRId64
\n
"
,
i
,
dts
,
best_dts
,
offset
);
if
(
dts
<
best_dts
){
best_dts
=
dts
;
sc
=
msc
;
...
...
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