[FFmpeg-cvslog] r22213 - trunk/ffplay.c

conrad subversion
Fri Mar 5 01:22:37 CET 2010


Author: conrad
Date: Fri Mar  5 01:22:37 2010
New Revision: 22213

Log:
Just ignore streams with unknown codec_type instead of exiting

Modified:
   trunk/ffplay.c

Modified: trunk/ffplay.c
==============================================================================
--- trunk/ffplay.c	Fri Mar  5 00:35:30 2010	(r22212)
+++ trunk/ffplay.c	Fri Mar  5 01:22:37 2010	(r22213)
@@ -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;
 



More information about the ffmpeg-cvslog mailing list