#include "libavutil/intreadwrite.h"
#include "avformat.h"
#include "internal.h"
Go to the source code of this file.
Defines | |
#define | AUD_HEADER_SIZE 12 |
#define | AUD_CHUNK_PREAMBLE_SIZE 8 |
#define | AUD_CHUNK_SIGNATURE 0x0000DEAF |
Functions | |
static int | wsaud_probe (AVProbeData *p) |
static int | wsaud_read_header (AVFormatContext *s) |
static int | wsaud_read_packet (AVFormatContext *s, AVPacket *pkt) |
Variables | |
AVInputFormat | ff_wsaud_demuxer |
Implementation note: There is no definite file signature for AUD files. The demuxer uses a probabilistic strategy for content detection. This entails performing sanity checks on certain header values in order to qualify a file. Refer to wsaud_probe() for the precise parameters.
Definition in file westwood_aud.c.
#define AUD_CHUNK_PREAMBLE_SIZE 8 |
#define AUD_CHUNK_SIGNATURE 0x0000DEAF |
#define AUD_HEADER_SIZE 12 |
static int wsaud_probe | ( | AVProbeData * | p | ) | [static] |
Definition at line 44 of file westwood_aud.c.
static int wsaud_read_header | ( | AVFormatContext * | s | ) | [static] |
Definition at line 84 of file westwood_aud.c.
static int wsaud_read_packet | ( | AVFormatContext * | s, | |
AVPacket * | pkt | |||
) | [static] |
Definition at line 128 of file westwood_aud.c.
Initial value:
{ .name = "wsaud", .long_name = NULL_IF_CONFIG_SMALL("Westwood Studios audio format"), .read_probe = wsaud_probe, .read_header = wsaud_read_header, .read_packet = wsaud_read_packet, }
Definition at line 174 of file westwood_aud.c.