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
6ac0e781
Commit
6ac0e781
authored
Mar 30, 2017
by
Sean McGovern
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mpeg4videodec: raise an error if sprite_trajectory.table is NULL
CC: libav-stable@libav.org Bug-Id: 1012
parent
b62ed687
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
mpeg4videodec.c
libavcodec/mpeg4videodec.c
+4
-0
No files found.
libavcodec/mpeg4videodec.c
View file @
6ac0e781
...
...
@@ -186,6 +186,10 @@ static int mpeg4_decode_sprite_trajectory(Mpeg4DecContext *ctx, GetBitContext *g
if
(
w
<=
0
||
h
<=
0
)
return
AVERROR_INVALIDDATA
;
/* the decoder was not properly initialized and we cannot continue */
if
(
sprite_trajectory
.
table
==
NULL
)
return
AVERROR_INVALIDDATA
;
for
(
i
=
0
;
i
<
ctx
->
num_sprite_warping_points
;
i
++
)
{
int
length
;
int
x
=
0
,
y
=
0
;
...
...
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