FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
swfdec.c File Reference
#include "libavutil/avassert.h"
#include "libavutil/channel_layout.h"
#include "libavutil/imgutils.h"
#include "libavutil/intreadwrite.h"
#include "swf.h"

Go to the source code of this file.

Functions

static int get_swf_tag (AVIOContext *pb, int *len_ptr)
 
static int swf_probe (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)
 

Variables

static const AVCodecTag swf_audio_codec_tags []
 
AVInputFormat ff_swf_demuxer
 

Function Documentation

static int get_swf_tag ( AVIOContext pb,
int *  len_ptr 
)
static

Definition at line 38 of file swfdec.c.

Referenced by swf_read_packet().

static int swf_probe ( AVProbeData p)
static

Definition at line 56 of file swfdec.c.

static int swf_read_header ( AVFormatContext s)
static

Definition at line 105 of file swfdec.c.

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

Definition at line 147 of file swfdec.c.

Referenced by swf_read_packet().

static int swf_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 173 of file swfdec.c.

Variable Documentation

const AVCodecTag swf_audio_codec_tags[]
static
Initial value:
= {
{ AV_CODEC_ID_MP3, 0x02 },
}

Definition at line 29 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(SWFContext),
}

Definition at line 499 of file swfdec.c.