chomp_bsf.c File Reference
#include "avcodec.h"
#include "internal.h"
Include dependency graph for chomp_bsf.c:

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. More...
 

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:
= {
"chomp",
0,
}
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)
Definition: chomp_bsf.c:25

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

Definition at line 43 of file chomp_bsf.c.