mpv/libmpdemux
pl e0c43586ae x = malloc(strlen(s) + c) ... strcpy(x, s)
replaced by
x = strdup(s)

Note: sometimes c was 0 and that was a bug
Note2: code still has to be added to check the returned value of these funcs


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3613 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-19 13:03:22 +00:00
..
.cvsignore
Makefile mostly complete support for loading and decoding FLI/FLC animations 2001-11-24 23:58:12 +00:00
README
asf.h Removed functions prototypes for streaming that don't need to be here. 2001-12-16 21:41:43 +00:00
asf_streaming.c Fixed the multiple ASF header stream chunk. 2001-12-17 01:58:24 +00:00
asfheader.c added demux_info support 2001-11-22 15:30:54 +00:00
aviheader.c Divide by Zero fix. 2001-12-17 16:51:34 +00:00
aviheader.h
aviprint.c
aviwrite.c
aviwrite.h
bswap.h
cache2.c pre-cache fixed 2001-12-19 02:16:43 +00:00
config.h
demux_asf.c Applied the patch from Alban Bedel <albeu@free.fr> to 2001-12-12 22:35:51 +00:00
demux_avi.c using audio.dwStart too... (for baittest.avi) 2001-12-04 00:26:45 +00:00
demux_fli.c fli seeking implemented 2001-12-17 00:24:03 +00:00
demux_mov.c added demux_info 2001-11-22 15:43:24 +00:00
demux_mpg.c combined PS/PES sync to allow .VDR playback from stdin 2001-12-01 22:09:18 +00:00
demux_viv.c x = malloc(strlen(s) + c) ... strcpy(x, s) 2001-12-19 13:03:22 +00:00
demuxer.c fli seeking implemented 2001-12-17 00:24:03 +00:00
demuxer.h mostly complete support for loading and decoding FLI/FLC animations 2001-11-24 23:58:12 +00:00
dvdauth.c
dvdauth.h
frequencies.c
frequencies.h
help_mp.h
http.c Handle broken server that doesn't send CRLF but jusr LF. 2001-12-16 07:40:52 +00:00
http.h
mp3_hdr.c
mp_msg.h
mpeg_hdr.c
mpeg_hdr.h
network.c If the demuxer type is unknown it will start an http streaming. 2001-12-19 09:04:03 +00:00
network.h Added a data field in the streaming_ctrl_t struct, to store any 2001-12-11 01:06:08 +00:00
open.c Removed unnecessary check after the protocol autodetection. 2001-12-19 09:02:52 +00:00
parse_es.c
parse_es.h
stheader.h
stream.c fixed startup crash 2001-12-03 17:14:36 +00:00
stream.h pre-cache fixed 2001-12-19 02:16:43 +00:00
test.c initial precaching 2001-12-17 16:55:40 +00:00
tv.c x = malloc(strlen(s) + c) ... strcpy(x, s) 2001-12-19 13:03:22 +00:00
tv.h add tv fps support 2001-12-03 16:49:55 +00:00
tvi_def.h checkings for malloc results (potential memleaks) 2001-12-19 12:54:06 +00:00
tvi_dummy.c default size 320x200 2001-12-08 01:22:03 +00:00
tvi_v4l.c checkings for malloc results (potential memleaks) 2001-12-19 12:54:06 +00:00
url.c x = malloc(strlen(s) + c) ... strcpy(x, s) 2001-12-19 13:03:22 +00:00
url.h Added 2 functions to escape/unescape the url as described in the RFC 2396. 2001-12-14 23:48:47 +00:00
vcd_read.h using #ifdef HAVE_VCD 2001-12-01 23:40:24 +00:00
vcd_read_fbsd.h
video.c vivo A-V sync fixed 2001-12-16 14:51:04 +00:00

README

libmpdemux - MPlayer's input/demuxer layer  (C) A'rpi / MPlayer team
==========================================

NOTE: It is not in the final form yet! API may change...

Stream input layer:
===================
#include "stream.h"

Supported modes:
- file (by 2048 byte sectors) including STDIN (if filename "-")
- VCD disk (by 2324 byte mode2 sectors)
- network (buggy, mpg/avi download-like streaming works, asf not)
- DVD disk using with libdvdread 0.8 or 0.9

Note: optional CACHE layer with read-ahead and seek-back buffer (not finished)

Demuxer layer:
==============
#include "demuxer.h"

Supported formats:
- MPEG (PS,PES,VOB,ES), including VCD disk image files (.ISO/.BIN)
- AVI, with or without index, interleaved and non-interleaved formats
- ASF v1.0 (aka .wmv/.wma)
- Quicktime MOV - including compressed headers, CBR and VBR

Others:
=======
#include "stheader.h" - audio and video stream structs used by header parsers
#include "parse_es.h" - Mpeg ES stream parser

Using it outside of mplayer tree:
=================================
It uses a few things from mplayer tree:
config.h - system-dependent options, see ./configure
mp_msg.c/.h - mplayer's message printing code - copy it or impement your own
help_mp.h - error/info message texts
bswap.h - little/big endian conversion

If you use it in your project - please tell me!

A'rpi - arpi@thot.banki.hu