提交 8ef94840 编写于 作者: D David Conrad

Just ignore streams with unknown codec_type instead of exiting

Originally committed as revision 22213 to svn://svn.ffmpeg.org/ffmpeg/trunk
上级 818636ec
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册