#include "avformat.h"
#include "spdif.h"
#include "libavcodec/ac3.h"
#include "libavcodec/aacadtsdec.h"
Go to the source code of this file.
Defines | |
#define | SPDIF_MAX_OFFSET 16384 |
Functions | |
static int | spdif_get_offset_and_codec (AVFormatContext *s, enum IEC61937DataType data_type, const char *buf, int *offset, enum CodecID *codec) |
static int | spdif_probe (AVProbeData *p) |
static int | spdif_read_header (AVFormatContext *s, AVFormatParameters *ap) |
static int | spdif_read_packet (AVFormatContext *s, AVPacket *pkt) |
Variables | |
AVInputFormat | ff_spdif_demuxer |
Definition in file spdifdec.c.
#define SPDIF_MAX_OFFSET 16384 |
static int spdif_get_offset_and_codec | ( | AVFormatContext * | s, | |
enum IEC61937DataType | data_type, | |||
const char * | buf, | |||
int * | offset, | |||
enum CodecID * | codec | |||
) | [static] |
static int spdif_probe | ( | AVProbeData * | p | ) | [static] |
Definition at line 106 of file spdifdec.c.
static int spdif_read_header | ( | AVFormatContext * | s, | |
AVFormatParameters * | ap | |||
) | [static] |
Definition at line 158 of file spdifdec.c.
static int spdif_read_packet | ( | AVFormatContext * | s, | |
AVPacket * | pkt | |||
) | [static] |
Definition at line 164 of file spdifdec.c.
Initial value:
{ .name = "spdif", .long_name = NULL_IF_CONFIG_SMALL("IEC 61937 (compressed data in S/PDIF)"), .read_probe = spdif_probe, .read_header = spdif_read_header, .read_packet = spdif_read_packet, .flags = AVFMT_GENERIC_INDEX, }
Definition at line 228 of file spdifdec.c.