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
9b79c65e
Commit
9b79c65e
authored
Dec 17, 2017
by
Carl Eugen Hoyos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavu/lavc/lavf/lavfi: Do not use type modifier %zu on Windows MSVCRT.
parent
600c8729
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
11 additions
and
6 deletions
+11
-6
cbs_h2645.c
libavcodec/cbs_h2645.c
+1
-1
cbs_mpeg2.c
libavcodec/cbs_mpeg2.c
+1
-1
vf_showinfo.c
libavfilter/vf_showinfo.c
+3
-1
vf_unsharp_opencl.c
libavfilter/vf_unsharp_opencl.c
+2
-1
dump.c
libavformat/dump.c
+3
-1
hwcontext_opencl.c
libavutil/hwcontext_opencl.c
+1
-1
No files found.
libavcodec/cbs_h2645.c
View file @
9b79c65e
...
...
@@ -1237,7 +1237,7 @@ static int cbs_h2645_write_nal_unit(CodedBitstreamContext *ctx,
if
(
err
<
0
)
{
av_log
(
ctx
->
log_ctx
,
AV_LOG_ERROR
,
"Unable to allocate a "
"sufficiently large write buffer (last attempt "
"%
zu
bytes).
\n
"
,
priv
->
write_buffer_size
);
"%
"
SIZE_SPECIFIER
"
bytes).
\n
"
,
priv
->
write_buffer_size
);
return
err
;
}
}
...
...
libavcodec/cbs_mpeg2.c
View file @
9b79c65e
...
...
@@ -305,7 +305,7 @@ static int cbs_mpeg2_write_unit(CodedBitstreamContext *ctx,
if
(
err
<
0
)
{
av_log
(
ctx
->
log_ctx
,
AV_LOG_ERROR
,
"Unable to allocate a "
"sufficiently large write buffer (last attempt "
"%
zu
bytes).
\n
"
,
priv
->
write_buffer_size
);
"%
"
SIZE_SPECIFIER
"
bytes).
\n
"
,
priv
->
write_buffer_size
);
return
err
;
}
}
...
...
libavfilter/vf_showinfo.c
View file @
9b79c65e
...
...
@@ -68,7 +68,9 @@ static void dump_spherical(AVFilterContext *ctx, AVFrame *frame, AVFrameSideData
size_t
l
,
t
,
r
,
b
;
av_spherical_tile_bounds
(
spherical
,
frame
->
width
,
frame
->
height
,
&
l
,
&
t
,
&
r
,
&
b
);
av_log
(
ctx
,
AV_LOG_INFO
,
"[%zu, %zu, %zu, %zu] "
,
l
,
t
,
r
,
b
);
av_log
(
ctx
,
AV_LOG_INFO
,
"[%"
SIZE_SPECIFIER
", %"
SIZE_SPECIFIER
", %"
SIZE_SPECIFIER
", %"
SIZE_SPECIFIER
"] "
,
l
,
t
,
r
,
b
);
}
else
if
(
spherical
->
projection
==
AV_SPHERICAL_CUBEMAP
)
{
av_log
(
ctx
,
AV_LOG_INFO
,
"[pad %"
PRIu32
"] "
,
spherical
->
padding
);
}
...
...
libavfilter/vf_unsharp_opencl.c
View file @
9b79c65e
...
...
@@ -331,7 +331,8 @@ static int unsharp_opencl_filter_frame(AVFilterLink *inlink, AVFrame *input)
}
av_log
(
avctx
,
AV_LOG_DEBUG
,
"Run kernel on plane %d "
"(%zux%zu).
\n
"
,
p
,
global_work
[
0
],
global_work
[
1
]);
"(%"
SIZE_SPECIFIER
"x%"
SIZE_SPECIFIER
").
\n
"
,
p
,
global_work
[
0
],
global_work
[
1
]);
cle
=
clEnqueueNDRangeKernel
(
ctx
->
command_queue
,
ctx
->
kernel
,
2
,
NULL
,
global_work
,
ctx
->
global
?
NULL
:
local_work
,
...
...
libavformat/dump.c
View file @
9b79c65e
...
...
@@ -372,7 +372,9 @@ static void dump_spherical(void *ctx, AVCodecParameters *par, AVPacketSideData *
size_t
l
,
t
,
r
,
b
;
av_spherical_tile_bounds
(
spherical
,
par
->
width
,
par
->
height
,
&
l
,
&
t
,
&
r
,
&
b
);
av_log
(
ctx
,
AV_LOG_INFO
,
"[%zu, %zu, %zu, %zu] "
,
l
,
t
,
r
,
b
);
av_log
(
ctx
,
AV_LOG_INFO
,
"[%"
SIZE_SPECIFIER
", %"
SIZE_SPECIFIER
", %"
SIZE_SPECIFIER
", %"
SIZE_SPECIFIER
"] "
,
l
,
t
,
r
,
b
);
}
else
if
(
spherical
->
projection
==
AV_SPHERICAL_CUBEMAP
)
{
av_log
(
ctx
,
AV_LOG_INFO
,
"[pad %"
PRIu32
"] "
,
spherical
->
padding
);
}
...
...
libavutil/hwcontext_opencl.c
View file @
9b79c65e
...
...
@@ -2719,7 +2719,7 @@ static int opencl_map_from_drm_arm(AVHWFramesContext *dst_fc, AVFrame *dst,
&
fd
,
desc
->
objects
[
i
].
size
,
&
cle
);
if
(
!
mapping
->
object_buffers
[
i
])
{
av_log
(
dst_fc
,
AV_LOG_ERROR
,
"Failed to create CL buffer "
"from object %d (fd %d, size %
zu
) of DRM frame: %d.
\n
"
,
"from object %d (fd %d, size %
"
SIZE_SPECIFIER
"
) of DRM frame: %d.
\n
"
,
i
,
fd
,
desc
->
objects
[
i
].
size
,
cle
);
err
=
AVERROR
(
EIO
);
goto
fail
;
...
...
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