diff --git a/ffplay.c b/ffplay.c index b6b185e00d71665a64fd7a8af4e8d443ec593307..36bbf15bb9d7ffe24cdcfda140488ab4ed30836f 100644 --- 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;