FFmpeg
Macros | Functions | Variables
msnwc_tcp.c File Reference
#include "libavcodec/bytestream.h"
#include "avformat.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 AVInputFormat ff_msnwc_tcp_demuxer
 

Macro Definition Documentation

◆ HEADER_SIZE

#define HEADER_SIZE   24

Definition at line 25 of file msnwc_tcp.c.

Function Documentation

◆ msnwc_tcp_probe()

static int msnwc_tcp_probe ( const AVProbeData p)
static

Definition at line 39 of file msnwc_tcp.c.

◆ msnwc_tcp_read_header()

static int msnwc_tcp_read_header ( AVFormatContext ctx)
static

Definition at line 74 of file msnwc_tcp.c.

◆ msnwc_tcp_read_packet()

static int msnwc_tcp_read_packet ( AVFormatContext ctx,
AVPacket pkt 
)
static

Definition at line 103 of file msnwc_tcp.c.

Variable Documentation

◆ ff_msnwc_tcp_demuxer

const AVInputFormat ff_msnwc_tcp_demuxer
Initial value:
= {
.name = "msnwctcp",
.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 139 of file msnwc_tcp.c.

msnwc_tcp_read_packet
static int msnwc_tcp_read_packet(AVFormatContext *ctx, AVPacket *pkt)
Definition: msnwc_tcp.c:103
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:106
msnwc_tcp_read_header
static int msnwc_tcp_read_header(AVFormatContext *ctx)
Definition: msnwc_tcp.c:74
msnwc_tcp_probe
static int msnwc_tcp_probe(const AVProbeData *p)
Definition: msnwc_tcp.c:39