OpenFFmpeg
Macros | Functions | Variables
spdifdec.c File Reference

IEC 61937 demuxer, used for compressed data in S/PDIF. More...

#include "libavutil/bswap.h"
#include "libavcodec/ac3.h"
#include "libavcodec/adts_parser.h"
#include "avformat.h"
#include "spdif.h"

Macros

#define SPDIF_MAX_OFFSET   16384
 

Functions

int ff_spdif_probe (const uint8_t *p_buf, int buf_size, enum AVCodecID *codec)
 
int ff_spdif_read_packet (AVFormatContext *s, AVPacket *pkt)
 

Variables

AVInputFormat ff_spdif_demuxer
 

Detailed Description

IEC 61937 demuxer, used for compressed data in S/PDIF.

Author
Anssi Hannula

Variable Documentation

§ ff_spdif_demuxer

AVInputFormat ff_spdif_demuxer
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 = ff_spdif_read_packet,
}
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:186
#define AVFMT_GENERIC_INDEX
Use generic index building code.
Definition: avformat.h:470