pcmenc.c File Reference
#include "avformat.h"
#include "rawenc.h"
Include dependency graph for pcmenc.c:

Go to the source code of this file.

Macros

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

Macro Definition Documentation

#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, \
};
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
const char * name
Definition: avformat.h:378
int ff_raw_write_packet(AVFormatContext *s, AVPacket *pkt)
#define AVFMT_NOTIMESTAMPS
Format does not need / have any timestamps.
Definition: avformat.h:352

Definition at line 25 of file pcmenc.c.