FFmpeg
Loading...
Searching...
No Matches
nullenc.c File Reference
#include "avformat.h"
#include "mux.h"

Go to the source code of this file.

Functions

static int null_write_packet (struct AVFormatContext *s, AVPacket *pkt)
 

Variables

const FFOutputFormat ff_null_muxer
 

Function Documentation

◆ null_write_packet()

static int null_write_packet ( struct AVFormatContext * s,
AVPacket * pkt )
static

Definition at line 25 of file nullenc.c.

Variable Documentation

◆ ff_null_muxer

const FFOutputFormat ff_null_muxer
Initial value:
= {
.p.name = "null",
.p.long_name = NULL_IF_CONFIG_SMALL("raw null video"),
.p.video_codec = AV_CODEC_ID_WRAPPED_AVFRAME,
.write_packet = null_write_packet,
.interleave_packet = ff_interleave_packet_passthrough,
}
#define AVFMT_VARIABLE_FPS
Format allows variable fps.
Definition avformat.h:501
#define AVFMT_NOFILE
Demuxer will use avio_open, no opened file should be provided by the caller.
Definition avformat.h:488
#define AVFMT_NOTIMESTAMPS
Format does not need / have any timestamps.
Definition avformat.h:498
@ AV_CODEC_ID_PCM_S16LE
Definition codec_id.h:330
@ AV_CODEC_ID_WRAPPED_AVFRAME
Passthrough codec, AVFrames wrapped in AVPacket.
Definition codec_id.h:621
@ AV_CODEC_ID_PCM_S16BE
Definition codec_id.h:331
int ff_interleave_packet_passthrough(AVFormatContext *s, AVPacket *pkt, int flush, int has_packet)
Interleave packets directly in the order in which they arrive without any sort of buffering.
Definition mux.c:1021
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
Definition internal.h:88
#define AV_NE(be, le)
Definition macros.h:33
static int null_write_packet(struct AVFormatContext *s, AVPacket *pkt)
Definition nullenc.c:25

Definition at line 30 of file nullenc.c.