FFmpeg
Functions | Variables
chomp.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 FFBitStreamFilter 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.c.

Variable Documentation

◆ ff_chomp_bsf

const FFBitStreamFilter ff_chomp_bsf
Initial value:
= {
.p.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.c.

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