#include "parser.h"
#include "dca.h"
Go to the source code of this file.
#define IS_MARKER |
( |
|
state, |
|
|
|
i, |
|
|
|
buf, |
|
|
|
buf_size |
|
) |
| |
static int dca_find_frame_end |
( |
DCAParseContext * |
pc1, |
|
|
const uint8_t * |
buf, |
|
|
int |
buf_size |
|
) |
| |
|
static |
Find the end of the current frame in the bitstream.
- Returns
- the position of the first byte of the next frame, or -1
Definition at line 45 of file dca_parser.c.
Referenced by dca_parse().
Initial value:= {
}
static av_cold int dca_parse_init(AVCodecParserContext *s)
void ff_parse_close(AVCodecParserContext *s)
struct DCAParseContext DCAParseContext
static int dca_parse(AVCodecParserContext *s, AVCodecContext *avctx, const uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size)
Definition at line 128 of file dca_parser.c.