FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
oggparseflac.c File Reference
#include <stdlib.h>
#include "libavcodec/get_bits.h"
#include "libavcodec/flac.h"
#include "avformat.h"
#include "internal.h"
#include "oggdec.h"

Go to the source code of this file.

Macros

#define OGG_FLAC_METADATA_TYPE_STREAMINFO   0x7F
 

Functions

static int flac_header (AVFormatContext *s, int idx)
 
static int old_flac_header (AVFormatContext *s, int idx)
 

Variables

const struct ogg_codec ff_flac_codec
 
const struct ogg_codec ff_old_flac_codec
 

Macro Definition Documentation

#define OGG_FLAC_METADATA_TYPE_STREAMINFO   0x7F

Definition at line 28 of file oggparseflac.c.

Referenced by flac_header().

Function Documentation

static int flac_header ( AVFormatContext s,
int  idx 
)
static

Definition at line 31 of file oggparseflac.c.

static int old_flac_header ( AVFormatContext s,
int  idx 
)
static

Definition at line 81 of file oggparseflac.c.

Variable Documentation

const struct ogg_codec ff_flac_codec
Initial value:
= {
.magic = "\177FLAC",
.magicsize = 5,
.header = flac_header,
.nb_header = 2,
}
static int flac_header(AVFormatContext *s, int idx)
Definition: oggparseflac.c:31

Definition at line 128 of file oggparseflac.c.

const struct ogg_codec ff_old_flac_codec
Initial value:
= {
.magic = "fLaC",
.magicsize = 4,
.header = old_flac_header,
.nb_header = 0,
}
static int old_flac_header(AVFormatContext *s, int idx)
Definition: oggparseflac.c:81

Definition at line 135 of file oggparseflac.c.