diff options
author | David Conrad <lessen42@gmail.com> | 2010-03-05 00:22:37 +0000 |
---|---|---|
committer | David Conrad <lessen42@gmail.com> | 2010-03-05 00:22:37 +0000 |
commit | 8ef94840236a220975173e51d4056efeba4afe2d (patch) | |
tree | 456d88707c34a62efafa0a95030babd74b1ae20b /ffplay.c | |
parent | 818636ecf14a7e142a572fd120e20a6fcf131ded (diff) | |
download | ffmpeg-8ef94840236a220975173e51d4056efeba4afe2d.tar.gz |
Just ignore streams with unknown codec_type instead of exiting
Originally committed as revision 22213 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffplay.c')
-rw-r--r-- | ffplay.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |