FFmpeg
 All Data Structures 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

struct ogg_codec ff_flac_codec
 
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 79 of file oggparseflac.c.

Variable Documentation

struct ogg_codec ff_flac_codec
Initial value:
= {
.magic = "\177FLAC",
.magicsize = 5,
.header = flac_header,
.nb_header = 2,
}

Definition at line 88 of file oggparseflac.c.

struct ogg_codec ff_old_flac_codec
Initial value:
= {
.magic = "fLaC",
.magicsize = 4,
.header = old_flac_header,
.nb_header = 0,
}

Definition at line 95 of file oggparseflac.c.