All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions | Variables
cook_parser.c File Reference

Cook audio parser. More...

#include <stdint.h>
#include "libavutil/intreadwrite.h"
#include "parser.h"

Go to the source code of this file.

Data Structures

struct  CookParseContext


static int cook_parse (AVCodecParserContext *s1, AVCodecContext *avctx, const uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size)


AVCodecParser ff_cook_parser

Detailed Description

Cook audio parser.

Determines subpacket duration from extradata.

Definition in file cook_parser.c.

Function Documentation

static int cook_parse ( AVCodecParserContext s1,
AVCodecContext avctx,
const uint8_t **  poutbuf,
int *  poutbuf_size,
const uint8_t buf,
int  buf_size 

Definition at line 37 of file cook_parser.c.

Variable Documentation

AVCodecParser ff_cook_parser
Initial value:
= {
.codec_ids = { AV_CODEC_ID_COOK },
.priv_data_size = sizeof(CookParseContext),
.parser_parse = cook_parse,

Definition at line 55 of file cook_parser.c.