Mercurial > libavformat.hg
view barpainet.h @ 1307:59dbb78518d4 libavformat
make AVOptions default value field work.
Patch by Panagiotis Issaris % takis P issaris A uhasselt P be %
Original thread:
Date: Sep 8, 2006 3:22 PM
Subject: [Ffmpeg-devel] [PATCH 1/2] Enable usage of AVOption default value
author | gpoirier |
---|---|
date | Sun, 10 Sep 2006 20:21:40 +0000 |
parents | 8bf9be9bb107 |
children | 0899bfe4105c |
line wrap: on
line source
/* * copyright (c) 2002 Francois Revol * * This library 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 of the License, or (at your option) any later version. * * This library 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 this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef BARPA_INET_H #define BARPA_INET_H #include "config.h" #ifdef CONFIG_BEOS_NETSERVER # include <socket.h> int inet_aton (const char * str, struct in_addr * add); # define PF_INET AF_INET # define SO_SNDBUF 0x40000001 /* fake */ struct ip_mreq { struct in_addr imr_multiaddr; /* IP multicast address of group */ struct in_addr imr_interface; /* local IP address of interface */ }; #include <netdb.h> #else # include <arpa/inet.h> #endif #endif /* BARPA_INET_H */