* 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 "config.h"
#include <stdlib.h>
#include <stdio.h>
+#include <stdint.h>
#include <string.h>
+#include <errno.h>
#ifdef HAVE_SOUNDCARD_H
#include <soundcard.h>
#else
#include <unistd.h>
#include <fcntl.h>
#include <sys/ioctl.h>
-#ifdef HAVE_SYS_MMAN_H
-#include <sys/mman.h>
-#endif
#include <sys/time.h>
+#include "libavutil/log.h"
+#include "libavcodec/avcodec.h"
+#include "libavformat/avformat.h"
+
#define AUDIO_BLOCK_SIZE 4096
typedef struct {
#ifdef CONFIG_OSS_DEMUXER
AVInputFormat oss_demuxer = {
"oss",
- "audio grab and output",
+ NULL_IF_CONFIG_SMALL("audio grab and output"),
sizeof(AudioData),
NULL,
audio_read_header,
#ifdef CONFIG_OSS_MUXER
AVOutputFormat oss_muxer = {
"oss",
- "audio grab and output",
+ NULL_IF_CONFIG_SMALL("audio grab and output"),
"",
"",
sizeof(AudioData),