msnwc_tcp.c File Reference
#include "libavcodec/bytestream.h"
#include "avformat.h"
#include "internal.h"
Include dependency graph for msnwc_tcp.c:

Go to the source code of this file.

Macros

#define HEADER_SIZE   24
 

Functions

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

Variables

AVInputFormat ff_msnwc_tcp_demuxer
 

Macro Definition Documentation

#define HEADER_SIZE   24

Definition at line 25 of file msnwc_tcp.c.

Referenced by msnwc_tcp_probe(), msnwc_tcp_read_header(), and msnwc_tcp_read_packet().

Function Documentation

static int msnwc_tcp_probe ( AVProbeData p)
static

Definition at line 39 of file msnwc_tcp.c.

static int msnwc_tcp_read_header ( AVFormatContext ctx)
static

Definition at line 73 of file msnwc_tcp.c.

static int msnwc_tcp_read_packet ( AVFormatContext ctx,
AVPacket pkt 
)
static

Definition at line 102 of file msnwc_tcp.c.

Variable Documentation

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,
}
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
static int msnwc_tcp_read_header(AVFormatContext *ctx)
Definition: msnwc_tcp.c:73
static int msnwc_tcp_read_packet(AVFormatContext *ctx, AVPacket *pkt)
Definition: msnwc_tcp.c:102
static int msnwc_tcp_probe(AVProbeData *p)
Definition: msnwc_tcp.c:39

Definition at line 134 of file msnwc_tcp.c.