summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-11-17 18:28:43 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-11-17 18:28:43 +0000
commit98ab90d2ca4cb2b3b2e634ba8e08c12930ee236d (patch)
tree50638c372666c6bcd522aad67d69245972e0d419 /mplayer.c
parentdc19e32d67d04703798755b403fe9e642783e29b (diff)
downloadmpv-98ab90d2ca4cb2b3b2e634ba8e08c12930ee236d.tar.bz2
mpv-98ab90d2ca4cb2b3b2e634ba8e08c12930ee236d.tar.xz
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
Diffstat (limited to 'mplayer.c')
-rw-r--r--mplayer.c4
1 files changed, 0 insertions, 4 deletions
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");