libavformat/flacenc.c File Reference

#include "libavcodec/flac.h"
#include "avformat.h"
#include "flacenc.h"
#include "vorbiscomment.h"
#include "libavcodec/bytestream.h"

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 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 flacenc.c.

Referenced by flac_write_header().

static int flac_write_header ( struct AVFormatContext s  )  [static]

Definition at line 67 of file flacenc.c.

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

Definition at line 113 of file flacenc.c.

static int flac_write_trailer ( struct AVFormatContext s  )  [static]

Definition at line 90 of file flacenc.c.


Variable Documentation

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,
    .flags             = AVFMT_NOTIMESTAMPS,
}

Definition at line 120 of file flacenc.c.


Generated on Fri Oct 26 02:50:05 2012 for FFmpeg by  doxygen 1.5.8