Mercurial > libavformat.hg
view rso.c @ 6479:3e7384f85f1d libavformat
tcp: Check both wfds and efds when waiting for the result from connect
On windows, a connection failure doesn't trigger wfds as it does on unix.
This fixes issue 2237, based on code by yeyingxian.
author | mstorsjo |
---|---|
date | Tue, 21 Sep 2010 20:17:34 +0000 |
parents | ab5b82b7b8e6 |
children |
line wrap: on
line source
/* * RSO format common data * Copyright (c) 2010 Rafael Carre * * This file is part of FFmpeg. * * FFmpeg is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * FFmpeg is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with FFmpeg; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ #include "avformat.h" #include "internal.h" #include "rso.h" const AVCodecTag ff_codec_rso_tags[] = { { CODEC_ID_PCM_U8, 0x0100 }, { CODEC_ID_ADPCM_IMA_WAV, 0x0101 }, { CODEC_ID_NONE, 0 }, };