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
26c0cc15
Commit
26c0cc15
authored
Feb 20, 2015
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avformat/mvdec: Use 64bit for ret to avoid overflow
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
80a851aa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
mvdec.c
libavformat/mvdec.c
+1
-1
No files found.
libavformat/mvdec.c
View file @
26c0cc15
...
@@ -408,7 +408,7 @@ static int mv_read_packet(AVFormatContext *avctx, AVPacket *pkt)
...
@@ -408,7 +408,7 @@ static int mv_read_packet(AVFormatContext *avctx, AVPacket *pkt)
AVStream
*
st
=
avctx
->
streams
[
mv
->
stream_index
];
AVStream
*
st
=
avctx
->
streams
[
mv
->
stream_index
];
const
AVIndexEntry
*
index
;
const
AVIndexEntry
*
index
;
int
frame
=
mv
->
frame
[
mv
->
stream_index
];
int
frame
=
mv
->
frame
[
mv
->
stream_index
];
int
ret
;
int
64_t
ret
;
uint64_t
pos
;
uint64_t
pos
;
if
(
frame
<
st
->
nb_index_entries
)
{
if
(
frame
<
st
->
nb_index_entries
)
{
...
...
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