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
17adcc40
Commit
17adcc40
authored
Jan 27, 2017
by
Aaron Colwell
Committed by
Vittorio Giovara
Mar 07, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mov: Fix spherical metadata_source parsing
Signed-off-by:
James Almer
<
jamrial@gmail.com
>
parent
81bffae3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
mov.c
libavformat/mov.c
+2
-2
No files found.
libavformat/mov.c
View file @
17adcc40
...
...
@@ -3252,7 +3252,7 @@ static int mov_read_sv3d(MOVContext *c, AVIOContext *pb, MOVAtom atom)
}
size
=
avio_rb32
(
pb
);
if
(
size
>
atom
.
size
)
if
(
size
<=
12
||
size
>
atom
.
size
)
return
AVERROR_INVALIDDATA
;
tag
=
avio_rl32
(
pb
);
...
...
@@ -3261,7 +3261,7 @@ static int mov_read_sv3d(MOVContext *c, AVIOContext *pb, MOVAtom atom)
return
0
;
}
avio_skip
(
pb
,
4
);
/* version + flags */
avio_skip
(
pb
,
avio_r8
(
pb
)
);
/* metadata_source */
avio_skip
(
pb
,
size
-
12
);
/* metadata_source */
size
=
avio_rb32
(
pb
);
if
(
size
>
atom
.
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