FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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 (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 74 of file msnwc_tcp.c.

static int msnwc_tcp_read_packet ( AVFormatContext ctx,
AVPacket pkt 
)
static

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

Definition at line 139 of file msnwc_tcp.c.