FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions | Variables
aac_adtstoasc_bsf.c File Reference
#include "avcodec.h"
#include "aacadtsdec.h"
#include "put_bits.h"
#include "get_bits.h"
#include "mpeg4audio.h"
#include "internal.h"

Go to the source code of this file.

Data Structures

struct  AACBSFContext
 

Functions

static int aac_adtstoasc_filter (AVBitStreamFilterContext *bsfc, AVCodecContext *avctx, const char *args, uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size, int keyframe)
 This filter creates an MPEG-4 AudioSpecificConfig from an MPEG-2/4 ADTS header and removes the ADTS header.
 

Variables

AVBitStreamFilter ff_aac_adtstoasc_bsf
 

Function Documentation

static int aac_adtstoasc_filter ( AVBitStreamFilterContext bsfc,
AVCodecContext avctx,
const char *  args,
uint8_t **  poutbuf,
int *  poutbuf_size,
const uint8_t buf,
int  buf_size,
int  keyframe 
)
static

This filter creates an MPEG-4 AudioSpecificConfig from an MPEG-2/4 ADTS header and removes the ADTS header.

Definition at line 37 of file aac_adtstoasc_bsf.c.

Variable Documentation

AVBitStreamFilter ff_aac_adtstoasc_bsf
Initial value:
= {
.name = "aac_adtstoasc",
.priv_data_size = sizeof(AACBSFContext),
}

Definition at line 115 of file aac_adtstoasc_bsf.c.