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
171adca6
Commit
171adca6
authored
Oct 27, 2017
by
Steven Liu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "flvdec: Check the avio_seek return value after reading a metadata packet"
This reverts commit
ef7fe81b
.
parent
61e25ab0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
7 deletions
+1
-7
flvdec.c
libavformat/flvdec.c
+1
-7
No files found.
libavformat/flvdec.c
View file @
171adca6
...
...
@@ -1015,13 +1015,7 @@ retry:
"Skipping flv packet: type %d, size %d, flags %d.
\n
"
,
type
,
size
,
flags
);
skip:
if
(
avio_seek
(
s
->
pb
,
next
,
SEEK_SET
)
!=
next
)
{
// This can happen if flv_read_metabody above read past
// next, on a non-seekable input, and the preceding data has
// been flushed out from the IO buffer.
av_log
(
s
,
AV_LOG_ERROR
,
"Unable to seek to the next packet
\n
"
);
return
AVERROR_INVALIDDATA
;
}
avio_seek
(
s
->
pb
,
next
,
SEEK_SET
);
ret
=
FFERROR_REDO
;
goto
leave
;
}
...
...
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