FFmpeg
Loading...
Searching...
No Matches
wvenc.c File Reference
#include "libavutil/attributes.h"
#include "apetag.h"
#include "avformat.h"
#include "mux.h"
#include "wv.h"

Go to the source code of this file.

Data Structures

struct  WvMuxContext
 

Functions

static int wv_write_packet (AVFormatContext *ctx, AVPacket *pkt)
 
static av_cold int wv_write_trailer (AVFormatContext *ctx)
 

Variables

const FFOutputFormat ff_wv_muxer
 

Function Documentation

◆ wv_write_packet()

static int wv_write_packet ( AVFormatContext * ctx,
AVPacket * pkt )
static

Definition at line 34 of file wvenc.c.

◆ wv_write_trailer()

static av_cold int wv_write_trailer ( AVFormatContext * ctx)
static

Definition at line 52 of file wvenc.c.

Variable Documentation

◆ ff_wv_muxer

const FFOutputFormat ff_wv_muxer
Initial value:
= {
.p.name = "wv",
.p.long_name = NULL_IF_CONFIG_SMALL("raw WavPack"),
.p.mime_type = "audio/x-wavpack",
.p.extensions = "wv",
.priv_data_size = sizeof(WvMuxContext),
.p.audio_codec = AV_CODEC_ID_WAVPACK,
.p.video_codec = AV_CODEC_ID_NONE,
.p.subtitle_codec = AV_CODEC_ID_NONE,
.write_packet = wv_write_packet,
.write_trailer = wv_write_trailer,
.p.flags = AVFMT_NOTIMESTAMPS,
.flags_internal = FF_OFMT_FLAG_MAX_ONE_OF_EACH |
}
#define AVFMT_NOTIMESTAMPS
Format does not need / have any timestamps.
Definition avformat.h:498
@ AV_CODEC_ID_NONE
Definition codec_id.h:48
@ AV_CODEC_ID_WAVPACK
Definition codec_id.h:478
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
Definition internal.h:88
#define FF_OFMT_FLAG_MAX_ONE_OF_EACH
If this flag is set, it indicates that for each codec type whose corresponding default codec (i....
Definition mux.h:50
#define FF_OFMT_FLAG_ONLY_DEFAULT_CODECS
If this flag is set, then the only permitted audio/video/subtitle codec ids are AVOutputFormat....
Definition mux.h:59
static int wv_write_packet(AVFormatContext *ctx, AVPacket *pkt)
Definition wvenc.c:34
static av_cold int wv_write_trailer(AVFormatContext *ctx)
Definition wvenc.c:52

Definition at line 69 of file wvenc.c.