Data Structures | Functions | Variables
swfdec.c File Reference
#include "config.h"
#include "libavutil/avassert.h"
#include "libavutil/channel_layout.h"
#include "libavutil/imgutils.h"
#include "libavutil/internal.h"
#include "libavutil/intreadwrite.h"
#include "libavcodec/get_bits.h"
#include "swf.h"
#include "flv.h"

Go to the source code of this file.

Data Structures

struct  SWFDecContext


static int get_swf_tag (AVIOContext *pb, int *len_ptr)
static int swf_probe (const AVProbeData *p)
static int swf_read_header (AVFormatContext *s)
static AVStreamcreate_new_audio_stream (AVFormatContext *s, int id, int info)
static int swf_read_packet (AVFormatContext *s, AVPacket *pkt)


static const AVCodecTag swf_audio_codec_tags []
AVInputFormat ff_swf_demuxer

Function Documentation

static int get_swf_tag ( AVIOContext pb,
int len_ptr 

Definition at line 59 of file swfdec.c.

Referenced by swf_read_packet().

static int swf_probe ( const AVProbeData p)

Definition at line 77 of file swfdec.c.

static int swf_read_header ( AVFormatContext s)

Definition at line 148 of file swfdec.c.

static AVStream* create_new_audio_stream ( AVFormatContext s,
int  id,
int  info 

Definition at line 191 of file swfdec.c.

Referenced by swf_read_packet().

static int swf_read_packet ( AVFormatContext s,
AVPacket pkt 

Definition at line 217 of file swfdec.c.

Variable Documentation

const AVCodecTag swf_audio_codec_tags[]
Initial value:
= {
{ AV_CODEC_ID_MP3, 0x02 },
preferred ID for decoding MPEG audio layer 1, 2 or 3
Definition: codec_id.h:422

Definition at line 50 of file swfdec.c.

AVInputFormat ff_swf_demuxer
Initial value:
= {
.name = "swf",
.long_name = NULL_IF_CONFIG_SMALL("SWF (ShockWave Flash)"),
.priv_data_size = sizeof(SWFDecContext),
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:115
static int swf_probe(const AVProbeData *p)
Definition: swfdec.c:77
static int swf_read_header(AVFormatContext *s)
Definition: swfdec.c:148
static int read_header(FFV1Context *f)
Definition: ffv1dec.c:527
static int read_packet(void *opaque, uint8_t *buf, int buf_size)
Definition: avio_reading.c:42
static int read_probe(const AVProbeData *pd)
Definition: jvdec.c:55
static int swf_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: swfdec.c:217

Definition at line 567 of file swfdec.c.