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
0bac7a43
Commit
0bac7a43
authored
Nov 27, 2015
by
Nicolas George
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavf/flvdec: use FFERROR_REDO instead of AVERROR(EAGAIN).
Fix trac ticket #5041.
parent
3ab1e5a4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
flvdec.c
libavformat/flvdec.c
+7
-7
No files found.
libavformat/flvdec.c
View file @
0bac7a43
...
...
@@ -882,7 +882,7 @@ retry:
}
if
(
size
==
0
)
{
ret
=
AVERROR
(
EAGAIN
)
;
ret
=
FFERROR_REDO
;
goto
leave
;
}
...
...
@@ -927,13 +927,13 @@ retry:
type
,
size
,
flags
);
skip:
avio_seek
(
s
->
pb
,
next
,
SEEK_SET
);
ret
=
AVERROR
(
EAGAIN
)
;
ret
=
FFERROR_REDO
;
goto
leave
;
}
/* skip empty data packets */
if
(
!
size
)
{
ret
=
AVERROR
(
EAGAIN
)
;
ret
=
FFERROR_REDO
;
goto
leave
;
}
...
...
@@ -973,7 +973,7 @@ skip:
||
st
->
discard
>=
AVDISCARD_ALL
)
{
avio_seek
(
s
->
pb
,
next
,
SEEK_SET
);
ret
=
AVERROR
(
EAGAIN
)
;
ret
=
FFERROR_REDO
;
goto
leave
;
}
...
...
@@ -1068,7 +1068,7 @@ retry_duration:
if
(
st
->
codec
->
extradata
)
{
if
((
ret
=
flv_queue_extradata
(
flv
,
s
->
pb
,
stream_type
,
size
))
<
0
)
return
ret
;
ret
=
AVERROR
(
EAGAIN
)
;
ret
=
FFERROR_REDO
;
goto
leave
;
}
if
((
ret
=
flv_get_extradata
(
s
,
st
,
size
))
<
0
)
...
...
@@ -1095,14 +1095,14 @@ retry_duration:
}
}
ret
=
AVERROR
(
EAGAIN
)
;
ret
=
FFERROR_REDO
;
goto
leave
;
}
}
/* skip empty data packets */
if
(
!
size
)
{
ret
=
AVERROR
(
EAGAIN
)
;
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