FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
chomp_bsf.c File Reference
#include "avcodec.h"
#include "internal.h"

Go to the source code of this file.

Functions

static int chomp_filter (AVBitStreamFilterContext *bsfc, AVCodecContext *avctx, const char *args, uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size, int keyframe)
 

Variables

AVBitStreamFilter ff_chomp_bsf
 This filter removes a string of NULL bytes from the end of a packet.
 

Function Documentation

static int chomp_filter ( AVBitStreamFilterContext bsfc,
AVCodecContext avctx,
const char *  args,
uint8_t **  poutbuf,
int *  poutbuf_size,
const uint8_t buf,
int  buf_size,
int  keyframe 
)
static

Definition at line 25 of file chomp_bsf.c.

Variable Documentation

AVBitStreamFilter ff_chomp_bsf
Initial value:
= {
.name = "chomp",
.filter = chomp_filter,
}

This filter removes a string of NULL bytes from the end of a packet.

Definition at line 43 of file chomp_bsf.c.