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
18be3fac
Commit
18be3fac
authored
Aug 04, 2013
by
Marton Balint
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ffplay: check for filter EOF return codes
Fixes ticket #2800. Signed-off-by:
Marton Balint
<
cus@passwd.hu
>
parent
e84ca8d3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
ffplay.c
ffplay.c
+4
-0
No files found.
ffplay.c
View file @
18be3fac
...
...
@@ -1956,6 +1956,8 @@ static int video_thread(void *arg)
ret
=
av_buffersink_get_frame_flags
(
filt_out
,
frame
,
0
);
if
(
ret
<
0
)
{
if
(
ret
==
AVERROR_EOF
)
is
->
video_finished
=
serial
;
ret
=
0
;
break
;
}
...
...
@@ -2236,6 +2238,8 @@ static int audio_decode_frame(VideoState *is)
is
->
audio_buf_frames_pending
=
0
;
continue
;
}
if
(
ret
==
AVERROR_EOF
)
is
->
audio_finished
=
is
->
audio_pkt_temp_serial
;
return
ret
;
}
is
->
audio_buf_frames_pending
=
1
;
...
...
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