Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
7a2b2b6a
Commit
7a2b2b6a
authored
Jan 11, 2016
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dxtory: Drop nonsense ISO C printf conversion specifiers for standard types
parent
c454dfcf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
dxtory.c
libavcodec/dxtory.c
+3
-3
No files found.
libavcodec/dxtory.c
View file @
7a2b2b6a
...
...
@@ -201,12 +201,12 @@ static int check_slice_size(AVCodecContext *avctx,
if
(
slice_size
>
src_size
-
off
)
{
av_log
(
avctx
,
AV_LOG_ERROR
,
"invalid slice size %
"
PRIu32
" (only %"
PRIu32
"
bytes left)
\n
"
,
"invalid slice size %
d (only %d
bytes left)
\n
"
,
slice_size
,
src_size
-
off
);
return
AVERROR_INVALIDDATA
;
}
if
(
slice_size
<=
16
)
{
av_log
(
avctx
,
AV_LOG_ERROR
,
"invalid slice size %
"
PRIu32
"
\n
"
,
av_log
(
avctx
,
AV_LOG_ERROR
,
"invalid slice size %
d
\n
"
,
slice_size
);
return
AVERROR_INVALIDDATA
;
}
...
...
@@ -214,7 +214,7 @@ static int check_slice_size(AVCodecContext *avctx,
cur_slice_size
=
AV_RL32
(
src
+
off
);
if
(
cur_slice_size
!=
slice_size
-
16
)
{
av_log
(
avctx
,
AV_LOG_ERROR
,
"Slice sizes mismatch: got %
"
PRIu32
" instead of %"
PRIu32
"
\n
"
,
"Slice sizes mismatch: got %
d instead of %d
\n
"
,
cur_slice_size
,
slice_size
-
16
);
}
...
...
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