FFmpeg  4.0
Functions | Variables
nullenc.c File Reference
#include "avformat.h"

Go to the source code of this file.

Functions

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

Variables

AVOutputFormat ff_null_muxer
 

Function Documentation

◆ null_write_packet()

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

Definition at line 24 of file nullenc.c.

Variable Documentation

◆ ff_null_muxer

AVOutputFormat ff_null_muxer
Initial value:
= {
.name = "null",
.long_name = NULL_IF_CONFIG_SMALL("raw null video"),
.write_packet = null_write_packet,
}
#define AV_NE(be, le)
Definition: common.h:50
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:186
Passthrough codec, AVFrames wrapped in AVPacket.
Definition: avcodec.h:691
#define AVFMT_NOTIMESTAMPS
Format does not need / have any timestamps.
Definition: avformat.h:469
static int null_write_packet(struct AVFormatContext *s, AVPacket *pkt)
Definition: nullenc.c:24
#define AVFMT_NOFILE
Demuxer will use avio_open, no opened file should be provided by the caller.
Definition: avformat.h:465
#define AVFMT_VARIABLE_FPS
Format allows variable fps.
Definition: avformat.h:472

Definition at line 29 of file nullenc.c.