oggparseopus.c File Reference
#include <string.h>
#include "libavutil/intreadwrite.h"
#include "avformat.h"
#include "internal.h"
#include "oggdec.h"
Include dependency graph for oggparseopus.c:

Go to the source code of this file.

Data Structures

struct  oggopus_private
 

Macros

#define OPUS_HEAD_SIZE   19
 

Functions

static int opus_header (AVFormatContext *avf, int idx)
 
static int opus_packet (AVFormatContext *avf, int idx)
 

Variables

const struct ogg_codec ff_opus_codec
 

Macro Definition Documentation

#define OPUS_HEAD_SIZE   19

Definition at line 35 of file oggparseopus.c.

Referenced by opus_header().

Function Documentation

static int opus_header ( AVFormatContext avf,
int  idx 
)
static

Definition at line 37 of file oggparseopus.c.

static int opus_packet ( AVFormatContext avf,
int  idx 
)
static

Definition at line 85 of file oggparseopus.c.

Variable Documentation

const struct ogg_codec ff_opus_codec
Initial value:
= {
.name = "Opus",
.magic = "OpusHead",
.magicsize = 8,
.header = opus_header,
.packet = opus_packet,
}
static int opus_header(AVFormatContext *avf, int idx)
Definition: oggparseopus.c:37
static int opus_packet(AVFormatContext *avf, int idx)
Definition: oggparseopus.c:85

Definition at line 129 of file oggparseopus.c.