[MPlayer-cvslog] r29927 - trunk/mplayer.c

reimar subversion at mplayerhq.hu
Tue Nov 17 19:28:43 CET 2009


Author: reimar
Date: Tue Nov 17 19:28:43 2009
New Revision: 29927

Log:
Remove useless check for valid fd with -dumpstream, the code does not
necessarily need it.

Modified:
   trunk/mplayer.c

Modified: trunk/mplayer.c
==============================================================================
--- trunk/mplayer.c	Tue Nov 17 19:08:18 2009	(r29926)
+++ trunk/mplayer.c	Tue Nov 17 19:28:43 2009	(r29927)
@@ -3202,10 +3202,6 @@ if(stream_dump_type==5){
   int len;
   FILE *f;
   current_module="dumpstream";
-  if(mpctx->stream->type==STREAMTYPE_STREAM && mpctx->stream->fd<0){
-    mp_msg(MSGT_CPLAYER,MSGL_FATAL,MSGTR_DumpstreamFdUnavailable);
-    exit_player(EXIT_ERROR);
-  }
   stream_reset(mpctx->stream);
   stream_seek(mpctx->stream,mpctx->stream->start_pos);
   f=fopen(stream_dump_name,"wb");


More information about the MPlayer-cvslog mailing list