All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
rtpdec_ac3.c File Reference
#include "avformat.h"
#include "avio_internal.h"
#include "rtpdec_formats.h"

Go to the source code of this file.

Data Structures

struct  PayloadContext
 RTP/JPEG specific private data. More...




static void ac3_close_context (PayloadContext *data)
static int ac3_handle_packet (AVFormatContext *ctx, PayloadContext *data, AVStream *st, AVPacket *pkt, uint32_t *timestamp, const uint8_t *buf, int len, uint16_t seq, int flags)


RTPDynamicProtocolHandler ff_ac3_dynamic_handler

Macro Definition Documentation


Definition at line 26 of file rtpdec_ac3.c.

Referenced by ac3_handle_packet().

Function Documentation

static void ac3_close_context ( PayloadContext data)

Definition at line 35 of file rtpdec_ac3.c.

static int ac3_handle_packet ( AVFormatContext ctx,
PayloadContext data,
AVStream st,
AVPacket pkt,
uint32_t *  timestamp,
const uint8_t buf,
int  len,
uint16_t  seq,
int  flags 

Definition at line 40 of file rtpdec_ac3.c.

Variable Documentation

RTPDynamicProtocolHandler ff_ac3_dynamic_handler
Initial value:
= {
.enc_name = "ac3",
.codec_type = AVMEDIA_TYPE_AUDIO,
.codec_id = AV_CODEC_ID_AC3,
.need_parsing = AVSTREAM_PARSE_FULL,
.priv_data_size = sizeof(PayloadContext),
RTP/JPEG specific private data.
Definition: rdt.c:83
static void ac3_close_context(PayloadContext *data)
Definition: rtpdec_ac3.c:35
full parsing and repack
Definition: avformat.h:810
static int parse_packet(AVFormatContext *s, AVPacket *pkt, int stream_index)
Parse a packet, add all split parts to parse_queue.
Definition: utils.c:1368
static int ac3_handle_packet(AVFormatContext *ctx, PayloadContext *data, AVStream *st, AVPacket *pkt, uint32_t *timestamp, const uint8_t *buf, int len, uint16_t seq, int flags)
Definition: rtpdec_ac3.c:40

Definition at line 125 of file rtpdec_ac3.c.

Referenced by ff_register_rtp_dynamic_payload_handlers().