FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
chomp_bsf.c File Reference
#include "avcodec.h"
#include "bsf.h"
#include "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 26 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:26

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

Definition at line 43 of file chomp_bsf.c.