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
9aeaf629
Commit
9aeaf629
authored
Dec 13, 2011
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix all GNU %Ld
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
35f707ab
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
ratecontrol.c
libavcodec/ratecontrol.c
+1
-1
avienc.c
libavformat/avienc.c
+1
-1
movenc.c
libavformat/movenc.c
+1
-1
No files found.
libavcodec/ratecontrol.c
View file @
9aeaf629
...
...
@@ -708,7 +708,7 @@ float ff_rate_estimate_qscale(MpegEncContext *s, int dry_run)
dts_pic
=
s
->
last_picture_ptr
;
//if(dts_pic)
// av_log(NULL, AV_LOG_ERROR, "%
Ld %Ld %Ld
%d\n", s->current_picture_ptr->pts, s->user_specified_pts, dts_pic->pts, picture_number);
// av_log(NULL, AV_LOG_ERROR, "%
"PRId64" %"PRId64" %"PRId64"
%d\n", s->current_picture_ptr->pts, s->user_specified_pts, dts_pic->pts, picture_number);
if
(
!
dts_pic
||
dts_pic
->
f
.
pts
==
AV_NOPTS_VALUE
)
wanted_bits
=
(
uint64_t
)(
s
->
bit_rate
*
(
double
)
picture_number
/
fps
);
...
...
libavformat/avienc.c
View file @
9aeaf629
...
...
@@ -525,7 +525,7 @@ static int avi_write_packet(AVFormatContext *s, AVPacket *pkt)
AVPacket
empty_packet
;
if
(
pkt
->
dts
-
avist
->
packet_count
>
60000
){
av_log
(
s
,
AV_LOG_ERROR
,
"Too large number of skiped frames %
Ld
\n
"
,
pkt
->
dts
-
avist
->
packet_count
);
av_log
(
s
,
AV_LOG_ERROR
,
"Too large number of skiped frames %
"
PRId64
"
\n
"
,
pkt
->
dts
-
avist
->
packet_count
);
return
AVERROR
(
EINVAL
);
}
...
...
libavformat/movenc.c
View file @
9aeaf629
...
...
@@ -2586,7 +2586,7 @@ static int update_first_fragment(AVFormatContext *s)
if
(
mov
->
reserved_moov_size
){
int64_t
size
=
mov
->
reserved_moov_size
-
(
avio_tell
(
pb
)
-
mov
->
reserved_moov_pos
);
if
(
size
<
8
){
av_log
(
s
,
AV_LOG_ERROR
,
"reserved_moov_size is too small, needed %
Ld
additional
\n
"
,
8
-
size
);
av_log
(
s
,
AV_LOG_ERROR
,
"reserved_moov_size is too small, needed %
"
PRId64
"
additional
\n
"
,
8
-
size
);
return
-
1
;
}
avio_wb32
(
pb
,
size
);
...
...
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