OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e46be9
)
fix issue 1747
author
Michael Niedermayer
<michaelni@gmx.at>
Thu, 18 Feb 2010 00:19:50 +0000
(
00:19
+0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Thu, 18 Feb 2010 00:19:50 +0000
(
00:19
+0000)
Originally committed as revision 21874 to svn://svn.ffmpeg.org/ffmpeg/trunk
ffplay.c
patch
|
blob
|
history
diff --git
a/ffplay.c
b/ffplay.c
index
217107e
..
5f12f98
100644
(file)
--- a/
ffplay.c
+++ b/
ffplay.c
@@
-2070,9
+2070,11
@@
static int decode_thread(void *arg)
stream_component_open(is, audio_index);
}
+ ret=-1;
if (video_index >= 0) {
- stream_component_open(is, video_index);
- } else {
+ ret= stream_component_open(is, video_index);
+ }
+ if(ret<0) {
/* add the refresh timer to draw the picture */
schedule_refresh(is, 40);