FFmpeg
Macros
pcmenc.c File Reference
#include "avformat.h"
#include "rawenc.h"

Go to the source code of this file.

Macros

#define PCMDEF(name_, long_name_, ext, codec)
 

Macro Definition Documentation

◆ PCMDEF

#define PCMDEF (   name_,
  long_name_,
  ext,
  codec 
)
Value:
AVOutputFormat ff_pcm_ ## name_ ## _muxer = { \
.name = #name_, \
.long_name = NULL_IF_CONFIG_SMALL(long_name_), \
.extensions = ext, \
.audio_codec = codec, \
.video_codec = AV_CODEC_ID_NONE, \
.write_packet = ff_raw_write_packet, \
.flags = AVFMT_NOTIMESTAMPS, \
};

Definition at line 25 of file pcmenc.c.

AVOutputFormat::name
const char * name
Definition: avformat.h:496
AVFMT_NOTIMESTAMPS
#define AVFMT_NOTIMESTAMPS
Format does not need / have any timestamps.
Definition: avformat.h:467
ff_raw_write_packet
int ff_raw_write_packet(AVFormatContext *s, AVPacket *pkt)
Definition: rawenc.c:29
NULL_IF_CONFIG_SMALL
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
Definition: internal.h:188
AV_CODEC_ID_NONE
@ AV_CODEC_ID_NONE
Definition: avcodec.h:216
AVOutputFormat
Definition: avformat.h:495