FFmpeg
Macros | Functions | Variables
msnwc_tcp.c File Reference
#include "libavcodec/bytestream.h"
#include "avformat.h"
#include "demux.h"
#include "internal.h"

Go to the source code of this file.

Macros

#define HEADER_SIZE   24
 

Functions

static int msnwc_tcp_probe (const AVProbeData *p)
 
static int msnwc_tcp_read_header (AVFormatContext *ctx)
 
static int msnwc_tcp_read_packet (AVFormatContext *ctx, AVPacket *pkt)
 

Variables

const FFInputFormat ff_msnwc_tcp_demuxer
 

Macro Definition Documentation

◆ HEADER_SIZE

#define HEADER_SIZE   24

Definition at line 26 of file msnwc_tcp.c.

Function Documentation

◆ msnwc_tcp_probe()

static int msnwc_tcp_probe ( const AVProbeData p)
static

Definition at line 40 of file msnwc_tcp.c.

◆ msnwc_tcp_read_header()

static int msnwc_tcp_read_header ( AVFormatContext ctx)
static

Definition at line 75 of file msnwc_tcp.c.

◆ msnwc_tcp_read_packet()

static int msnwc_tcp_read_packet ( AVFormatContext ctx,
AVPacket pkt 
)
static

Definition at line 104 of file msnwc_tcp.c.

Variable Documentation

◆ ff_msnwc_tcp_demuxer

const FFInputFormat ff_msnwc_tcp_demuxer
Initial value:
= {
.p.name = "msnwctcp",
.p.long_name = NULL_IF_CONFIG_SMALL("MSN TCP Webcam stream"),
.read_probe = msnwc_tcp_probe,
.read_header = msnwc_tcp_read_header,
.read_packet = msnwc_tcp_read_packet,
}

Definition at line 140 of file msnwc_tcp.c.

msnwc_tcp_read_packet
static int msnwc_tcp_read_packet(AVFormatContext *ctx, AVPacket *pkt)
Definition: msnwc_tcp.c:104
NULL_IF_CONFIG_SMALL
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
Definition: internal.h:94
msnwc_tcp_read_header
static int msnwc_tcp_read_header(AVFormatContext *ctx)
Definition: msnwc_tcp.c:75
msnwc_tcp_probe
static int msnwc_tcp_probe(const AVProbeData *p)
Definition: msnwc_tcp.c:40