From 98ab90d2ca4cb2b3b2e634ba8e08c12930ee236d Mon Sep 17 00:00:00 2001 From: reimar Date: Tue, 17 Nov 2009 18:28:43 +0000 Subject: Remove useless check for valid fd with -dumpstream, the code does not necessarily need it. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29927 b3059339-0415-0410-9bf9-f77b7e298cf2 --- mplayer.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'mplayer.c') diff --git a/mplayer.c b/mplayer.c index 91de264af0..5d1aa0804f 100644 --- a/mplayer.c +++ b/mplayer.c @@ -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"); -- cgit v1.2.3