annotate stream/udp.h @ 26110:69790f7caffa

configure: Set CONFIG_ENCODERS=yes in config.mak unconditionally config.h already had "#define CONFIG_ENCODERS 1" unconditionally, but the config.mak value depended on whether MEncoder was enabled. Encoders need to be enabled as some encoder code is used by MPlayer too. The inconsistent values broke compilation with --disable-mencoder after libavcodec Makefile made compilation of i386/dsputilenc_mmx.o depend on the config.mak value.
author uau
date Mon, 03 Mar 2008 03:02:36 +0000
parents 4129c8cfa742
children 7ee4ae1648e6
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
19318
a3ddd3320b47 removed udp socket creation code from rtp stack to a new dedicated udp helper file
ben
parents:
diff changeset
1 /*
a3ddd3320b47 removed udp socket creation code from rtp stack to a new dedicated udp helper file
ben
parents:
diff changeset
2 * Copyright (C) 2006 Benjamin Zores
a3ddd3320b47 removed udp socket creation code from rtp stack to a new dedicated udp helper file
ben
parents:
diff changeset
3 * Network helpers for UDP connections (originally borrowed from rtp.c).
a3ddd3320b47 removed udp socket creation code from rtp stack to a new dedicated udp helper file
ben
parents:
diff changeset
4 *
a3ddd3320b47 removed udp socket creation code from rtp stack to a new dedicated udp helper file
ben
parents:
diff changeset
5 * This program is free software; you can redistribute it and/or modify
a3ddd3320b47 removed udp socket creation code from rtp stack to a new dedicated udp helper file
ben
parents:
diff changeset
6 * it under the terms of the GNU General Public License as published by
a3ddd3320b47 removed udp socket creation code from rtp stack to a new dedicated udp helper file
ben
parents:
diff changeset
7 * the Free Software Foundation; either version 2 of the License, or
a3ddd3320b47 removed udp socket creation code from rtp stack to a new dedicated udp helper file
ben
parents:
diff changeset
8 * (at your option) any later version.
a3ddd3320b47 removed udp socket creation code from rtp stack to a new dedicated udp helper file
ben
parents:
diff changeset
9 *
a3ddd3320b47 removed udp socket creation code from rtp stack to a new dedicated udp helper file
ben
parents:
diff changeset
10 * This program is distributed in the hope that it will be useful,
a3ddd3320b47 removed udp socket creation code from rtp stack to a new dedicated udp helper file
ben
parents:
diff changeset
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
a3ddd3320b47 removed udp socket creation code from rtp stack to a new dedicated udp helper file
ben
parents:
diff changeset
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
a3ddd3320b47 removed udp socket creation code from rtp stack to a new dedicated udp helper file
ben
parents:
diff changeset
13 * GNU General Public License for more details.
a3ddd3320b47 removed udp socket creation code from rtp stack to a new dedicated udp helper file
ben
parents:
diff changeset
14 *
a3ddd3320b47 removed udp socket creation code from rtp stack to a new dedicated udp helper file
ben
parents:
diff changeset
15 * You should have received a copy of the GNU General Public License
a3ddd3320b47 removed udp socket creation code from rtp stack to a new dedicated udp helper file
ben
parents:
diff changeset
16 * along with this program; if not, write to the Free Software Foundation,
a3ddd3320b47 removed udp socket creation code from rtp stack to a new dedicated udp helper file
ben
parents:
diff changeset
17 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
a3ddd3320b47 removed udp socket creation code from rtp stack to a new dedicated udp helper file
ben
parents:
diff changeset
18 */
a3ddd3320b47 removed udp socket creation code from rtp stack to a new dedicated udp helper file
ben
parents:
diff changeset
19
26029
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 23689
diff changeset
20 #ifndef MPLAYER_UDP_H
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 23689
diff changeset
21 #define MPLAYER_UDP_H
19332
a28ef75c9fe7 missing ifndef/define/endif couple in udp header
ben
parents: 19318
diff changeset
22
19318
a3ddd3320b47 removed udp socket creation code from rtp stack to a new dedicated udp helper file
ben
parents:
diff changeset
23 int udp_open_socket (URL_t *url);
19332
a28ef75c9fe7 missing ifndef/define/endif couple in udp header
ben
parents: 19318
diff changeset
24
26029
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 23689
diff changeset
25 #endif /* MPLAYER_UDP_H */