All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions | Variables
smjpegdec.c File Reference

This is a demuxer for Loki SDL Motion JPEG files. More...

#include "avformat.h"
#include "internal.h"
#include "riff.h"
#include "smjpeg.h"

Go to the source code of this file.

Data Structures

struct  SMJPEGContext


static int smjpeg_probe (AVProbeData *p)
static int smjpeg_read_header (AVFormatContext *s)
static int smjpeg_read_packet (AVFormatContext *s, AVPacket *pkt)


AVInputFormat ff_smjpeg_demuxer

Detailed Description

This is a demuxer for Loki SDL Motion JPEG files.

Definition in file smjpegdec.c.

Function Documentation

static int smjpeg_probe ( AVProbeData p)

Definition at line 37 of file smjpegdec.c.

static int smjpeg_read_header ( AVFormatContext s)

Definition at line 44 of file smjpegdec.c.

static int smjpeg_read_packet ( AVFormatContext s,
AVPacket pkt 

Definition at line 135 of file smjpegdec.c.

Variable Documentation

AVInputFormat ff_smjpeg_demuxer
Initial value:
= {
.name = "smjpeg",
.long_name = NULL_IF_CONFIG_SMALL("Loki SDL MJPEG"),
.priv_data_size = sizeof(SMJPEGContext),
.extensions = "mjpg",

Definition at line 174 of file smjpegdec.c.