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
b9296243
Commit
b9296243
authored
Feb 16, 2016
by
Vittorio Giovara
Committed by
Luca Barbato
Feb 16, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mov: Fix the format specifier type for size
Signed-off-by:
Luca Barbato
<
lu_zero@gentoo.org
>
parent
2edc7187
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
mov.c
libavformat/mov.c
+3
-2
No files found.
libavformat/mov.c
View file @
b9296243
...
@@ -1789,7 +1789,8 @@ int ff_mov_read_stsd_entries(MOVContext *c, AVIOContext *pb, int entries)
...
@@ -1789,7 +1789,8 @@ int ff_mov_read_stsd_entries(MOVContext *c, AVIOContext *pb, int entries)
avio_rb16
(
pb
);
/* reserved */
avio_rb16
(
pb
);
/* reserved */
dref_id
=
avio_rb16
(
pb
);
dref_id
=
avio_rb16
(
pb
);
}
else
{
}
else
{
av_log
(
c
->
fc
,
AV_LOG_ERROR
,
"invalid size %"
PRIu32
" in stsd
\n
"
,
size
);
av_log
(
c
->
fc
,
AV_LOG_ERROR
,
"invalid size %"
PRId64
" in stsd
\n
"
,
size
);
return
AVERROR_INVALIDDATA
;
return
AVERROR_INVALIDDATA
;
}
}
...
@@ -1803,7 +1804,7 @@ int ff_mov_read_stsd_entries(MOVContext *c, AVIOContext *pb, int entries)
...
@@ -1803,7 +1804,7 @@ int ff_mov_read_stsd_entries(MOVContext *c, AVIOContext *pb, int entries)
id
=
mov_codec_id
(
st
,
format
);
id
=
mov_codec_id
(
st
,
format
);
av_log
(
c
->
fc
,
AV_LOG_TRACE
,
av_log
(
c
->
fc
,
AV_LOG_TRACE
,
"size=%"
PRI
u32
" format=0x%08x codec_type=%d
\n
"
,
"size=%"
PRI
d64
" format=0x%08x codec_type=%d
\n
"
,
size
,
format
,
st
->
codec
->
codec_type
);
size
,
format
,
st
->
codec
->
codec_type
);
if
(
st
->
codec
->
codec_type
==
AVMEDIA_TYPE_VIDEO
)
{
if
(
st
->
codec
->
codec_type
==
AVMEDIA_TYPE_VIDEO
)
{
...
...
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