libavformat/flacenc.c File Reference
#include "libavcodec/flac.h"
#include "avformat.h"
#include "flacenc.h"
#include "vorbiscomment.h"
#include "libavcodec/bytestream.h"
Include dependency graph for libavformat/flacenc.c:

Go to the source code of this file.

Functions

static int flac_write_block_padding (AVIOContext *pb, unsigned int n_padding_bytes, int last_block)
 
static int flac_write_block_comment (AVIOContext *pb, AVDictionary **m, int last_block, int bitexact)
 
static int flac_write_header (struct AVFormatContext *s)
 
static int flac_write_trailer (struct AVFormatContext *s)
 
static int flac_write_packet (struct AVFormatContext *s, AVPacket *pkt)
 

Variables

AVOutputFormat ff_flac_muxer
 

Function Documentation

static int flac_write_block_comment ( AVIOContext pb,
AVDictionary **  m,
int  last_block,
int  bitexact 
)
static

Definition at line 41 of file libavformat/flacenc.c.

Referenced by flac_write_header().

static int flac_write_block_padding ( AVIOContext pb,
unsigned int  n_padding_bytes,
int  last_block 
)
static

Definition at line 29 of file libavformat/flacenc.c.

Referenced by flac_write_header().

static int flac_write_header ( struct AVFormatContext s)
static

Definition at line 67 of file libavformat/flacenc.c.

static int flac_write_packet ( struct AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 122 of file libavformat/flacenc.c.

static int flac_write_trailer ( struct AVFormatContext s)
static

Definition at line 99 of file libavformat/flacenc.c.

Variable Documentation

AVOutputFormat ff_flac_muxer
Initial value:
= {
.name = "flac",
.long_name = NULL_IF_CONFIG_SMALL("raw FLAC"),
.mime_type = "audio/x-flac",
.extensions = "flac",
.audio_codec = AV_CODEC_ID_FLAC,
.video_codec = AV_CODEC_ID_NONE,
.write_header = flac_write_header,
.write_packet = flac_write_packet,
.write_trailer = flac_write_trailer,
}
static int flac_write_header(struct AVFormatContext *s)
static int flac_write_trailer(struct AVFormatContext *s)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
#define AVFMT_NOTIMESTAMPS
Format does not need / have any timestamps.
Definition: avformat.h:352
static int flac_write_packet(struct AVFormatContext *s, AVPacket *pkt)

Definition at line 128 of file libavformat/flacenc.c.