OSDN Git Service
(root)
/
coroid
/
ffmpeg_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
818636e
)
Just ignore streams with unknown codec_type instead of exiting
author
David Conrad
<lessen42@gmail.com>
Fri, 5 Mar 2010 00:22:37 +0000
(
00:22
+0000)
committer
David Conrad
<lessen42@gmail.com>
Fri, 5 Mar 2010 00:22:37 +0000
(
00:22
+0000)
Originally committed as revision 22213 to svn://svn.ffmpeg.org/ffmpeg/trunk
ffplay.c
patch
|
blob
|
history
diff --git
a/ffplay.c
b/ffplay.c
index
b6b185e
..
36bbf15
100644
(file)
--- a/
ffplay.c
+++ b/
ffplay.c
@@
-2051,7
+2051,7
@@
static int decode_thread(void *arg)
AVCodecContext *avctx = st->codec;
ic->streams[i]->discard = AVDISCARD_ALL;
if(avctx->codec_type >= (unsigned)CODEC_TYPE_NB)
-
exit(1)
;
+
continue
;
if(st_count[avctx->codec_type]++ != wanted_stream[avctx->codec_type] && wanted_stream[avctx->codec_type] >= 0)
continue;