FFmpeg
Loading...
Searching...
No Matches
chomp.c File Reference

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.
 

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,
}
static int chomp_filter(AVBSFContext *ctx, AVPacket *pkt)
Definition chomp.c:25

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

Definition at line 42 of file chomp.c.