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
f4b51d06
Commit
f4b51d06
authored
Oct 19, 2011
by
Reimar Döffinger
Committed by
Martin Storsjö
Oct 21, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
flvdec: Do not call parse_keyframes_index with a NULL stream
Signed-off-by:
Martin Storsjö
<
martin@martin.st
>
parent
b19e0c2b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
flvdec.c
libavformat/flvdec.c
+3
-2
No files found.
libavformat/flvdec.c
View file @
f4b51d06
...
...
@@ -239,8 +239,9 @@ static int amf_parse_object(AVFormatContext *s, AVStream *astream, AVStream *vst
case
AMF_DATA_TYPE_OBJECT
:
{
unsigned
int
keylen
;
if
(
key
&&
!
strcmp
(
KEYFRAMES_TAG
,
key
)
&&
depth
==
1
)
if
(
parse_keyframes_index
(
s
,
ioc
,
vstream
,
max_pos
)
<
0
)
if
((
vstream
||
astream
)
&&
key
&&
!
strcmp
(
KEYFRAMES_TAG
,
key
)
&&
depth
==
1
)
if
(
parse_keyframes_index
(
s
,
ioc
,
vstream
?
vstream
:
astream
,
max_pos
)
<
0
)
return
-
1
;
while
(
avio_tell
(
ioc
)
<
max_pos
-
2
&&
(
keylen
=
avio_rb16
(
ioc
)))
{
...
...
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