FFmpeg
Loading...
Searching...
No Matches
mspdec.c File Reference

Microsoft Paint (MSP) demuxer. More...

#include "libavutil/intreadwrite.h"
#include "libavutil/imgutils.h"
#include "avformat.h"
#include "demux.h"
#include "internal.h"

Go to the source code of this file.

Data Structures

struct  MSPContext
 

Functions

static int msp_probe (const AVProbeData *p)
 
static int msp_read_header (AVFormatContext *s)
 
static int msp_read_packet (AVFormatContext *s, AVPacket *pkt)
 

Variables

const FFInputFormat ff_msp_demuxer
 

Detailed Description

Microsoft Paint (MSP) demuxer.

Definition in file mspdec.c.

Function Documentation

◆ msp_probe()

static int msp_probe ( const AVProbeData * p)
static

Definition at line 37 of file mspdec.c.

◆ msp_read_header()

static int msp_read_header ( AVFormatContext * s)
static

Definition at line 51 of file mspdec.c.

◆ msp_read_packet()

static int msp_read_packet ( AVFormatContext * s,
AVPacket * pkt )
static

Definition at line 83 of file mspdec.c.

Variable Documentation

◆ ff_msp_demuxer

const FFInputFormat ff_msp_demuxer
Initial value:
= {
.p.name = "msp",
.p.long_name = NULL_IF_CONFIG_SMALL("Microsoft Paint (MSP))"),
.p.flags = AVFMT_NOTIMESTAMPS,
.read_probe = msp_probe,
.read_header = msp_read_header,
.read_packet = msp_read_packet,
.priv_data_size = sizeof(MSPContext),
}
#define AVFMT_NOTIMESTAMPS
Format does not need / have any timestamps.
Definition avformat.h:498
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
Definition internal.h:88
static int msp_read_header(AVFormatContext *s)
Definition mspdec.c:51
static int msp_probe(const AVProbeData *p)
Definition mspdec.c:37
static int msp_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition mspdec.c:83

Definition at line 110 of file mspdec.c.