FFmpeg
Functions | Variables
chomp_bsf.c File Reference
#include "bsf.h"
#include "bsf_internal.h"

Go to the source code of this file.

Functions

static int chomp_filter (AVBSFContext *ctx, AVPacket *pkt)
 

Variables

const 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 ( AVBSFContext ctx,
AVPacket pkt 
)
static

Definition at line 25 of file chomp_bsf.c.

Variable Documentation

const AVBitStreamFilter ff_chomp_bsf
Initial value:
= {
.name = "chomp",
.filter = chomp_filter,
}
static int chomp_filter(AVBSFContext *ctx, AVPacket *pkt)
Definition: chomp_bsf.c:25

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

Definition at line 42 of file chomp_bsf.c.