FFmpeg
Loading...
Searching...
No Matches
api-amr-parser-test.c File Reference
#include <inttypes.h>
#include <stdio.h>
#include <string.h>
#include "libavcodec/avcodec.h"

Go to the source code of this file.

Functions

static void parse (AVCodecParserContext *parser, AVCodecContext *ctx, const char *name, const uint8_t *input, int input_size)
 
static int test_parser (enum AVCodecID codec, int channels, int frame_size)
 
int main (void)
 

Function Documentation

◆ parse()

static void parse ( AVCodecParserContext * parser,
AVCodecContext * ctx,
const char * name,
const uint8_t * input,
int input_size )
static

Definition at line 25 of file api-amr-parser-test.c.

Referenced by test_parser().

◆ test_parser()

static int test_parser ( enum AVCodecID codec,
int channels,
int frame_size )
static

Definition at line 48 of file api-amr-parser-test.c.

Referenced by main().

◆ main()

int main ( void )

Definition at line 96 of file api-amr-parser-test.c.