Mercurial > mplayer.hg
diff mplayer.c @ 29885:0ed2bca29afa
Remove useless check for valid fd with -dumpstream, the code does not
necessarily need it.
author | reimar |
---|---|
date | Tue, 17 Nov 2009 18:28:43 +0000 |
parents | 32af1e6ef8d3 |
children | 3991a8fd6a02 |
line wrap: on
line diff
--- a/mplayer.c Tue Nov 17 18:08:18 2009 +0000 +++ b/mplayer.c Tue Nov 17 18:28:43 2009 +0000 @@ -3202,10 +3202,6 @@ 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");