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

◆ chomp_filter()

static int chomp_filter ( AVBSFContext ctx,
AVPacket pkt 
)
static

Definition at line 25 of file chomp_bsf.c.

Variable Documentation

◆ ff_chomp_bsf

const 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 42 of file chomp_bsf.c.

chomp_filter
static int chomp_filter(AVBSFContext *ctx, AVPacket *pkt)
Definition: chomp_bsf.c:25