1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-15 11:25:10 +00:00
mpv/libmpdemux
rfelker aee0faef0a simple fix for buffer overflow (remotely exploitable). feel free to
commit a better fix if you don't like it.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10940 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-09-25 00:36:04 +00:00
..
realrtsp Networking support under MinGW. 2003-06-11 16:48:09 +00:00
.cvsignore
ai_alsa1x.c v4l2 support 2003-08-07 12:24:35 +00:00
ai_alsa.c v4l2 support 2003-08-07 12:24:35 +00:00
ai_oss.c v4l2 support 2003-08-07 12:24:35 +00:00
asf_mmst_streaming.c ftp support. The change on connect2Server is needed bcs we need 2 2003-08-15 19:13:23 +00:00
asf_streaming.c simple fix for buffer overflow (remotely exploitable). feel free to 2003-09-25 00:36:04 +00:00
asf.h
asfheader.c Changed the STREAMING defines to MPLAYER_NETWORK to avoid name definition clash. 2003-05-17 12:24:01 +00:00
audio_in.c v4l2 support 2003-08-07 12:24:35 +00:00
audio_in.h
aviheader.c
aviheader.h
aviprint.c dump extra bytes of bitmapinfoheader in verbose mode and make outputs consistent 2003-07-27 22:15:08 +00:00
bswap.h
cache2.c renames: DATADIR->MPLAYER_DATADIR, CONFDIR->MPLAYER_CONFDIR, LIBDIR->MPLAYER_LIBDIR 2003-06-09 12:15:48 +00:00
cdd.h
cdda.c Fix -cdrom-device to work again with cdda and vcd. 2003-08-13 11:18:24 +00:00
cddb.c Changed the STREAMING defines to MPLAYER_NETWORK to avoid name definition clash. 2003-05-17 12:24:01 +00:00
cdinfo.c
config.h
cue_read.c
cue_read.h
demux_asf.c plen=0 is handled 2003-09-07 01:41:09 +00:00
demux_audio.c Fixed 'reading after EOF'. demuxers didn't check, how many they've read! 2003-09-20 12:50:25 +00:00
demux_avi.c printing fps with 3 dec digit instead of 2 2003-08-27 22:30:54 +00:00
demux_bmp.c removed nonsense stream_reset/seek in check_file() 2003-04-30 20:24:09 +00:00
demux_demuxers.c Free the stream of the audio and subtitle demuxer. 2003-03-27 20:40:50 +00:00
demux_film.c
demux_fli.c
demux_gif.c gif library incompatibility fixes and prefere libungif over libgif. Patch by Joey Parrish <joey@nicewarrior.org> 2003-02-19 16:55:14 +00:00
demux_mf.c fopen requires binary flag on windows, too 2003-04-26 12:27:56 +00:00
demux_mkv.cpp Fix for imprecise floating point calculations. 2003-09-22 13:53:29 +00:00
demux_mov.c Fix for borked .mov files with bogus user data length values. Patch by Marek Zelem. 2003-09-20 10:10:11 +00:00
demux_mpg.c H264-ES demuxer 2003-04-04 15:38:46 +00:00
demux_nuv.c
demux_ogg.c Do not automatically select a subtitle stream for display. 2003-09-02 16:35:39 +00:00
demux_pva.c
demux_rawaudio.c Fixed 'reading after EOF'. demuxers didn't check, how many they've read! 2003-09-20 12:50:25 +00:00
demux_rawdv.c support for raw DV >2Gb 2003-08-07 13:25:03 +00:00
demux_rawvideo.c using CONF_TYPE_IMGFMT 2003-08-13 19:02:34 +00:00
demux_real.c serious bugs - 1l absinth (changed to absinth against cola inflation) 2003-08-31 18:51:05 +00:00
demux_realaud.c Warning fixes, patch by Dominik Mierzejewski 2003-06-01 20:27:32 +00:00
demux_roq.c removed nonsense stream_reset/seek in check_file() 2003-04-30 20:24:09 +00:00
demux_rtp_codec.cpp Added support for the "L16" and "L8" (raw PCM audio) RTP payload formats. 2003-07-27 10:16:14 +00:00
demux_rtp_internal.h Added support for checking whether a RTP demuxer had combined audio+video data. 2003-07-27 10:13:26 +00:00
demux_rtp.cpp Changed the criteria for when to drop RTP packets whose timestamp is too far 2003-09-24 08:41:57 +00:00
demux_rtp.h Added support for checking whether a RTP demuxer contains a combined audio_video stream. 2003-07-27 10:11:42 +00:00
demux_smjpeg.c
demux_ts.c Fix a gcc 3.x crash when compiling demux_ts.c with -g -O4 (or -O3). Patch by Arpi. 2003-09-08 10:07:52 +00:00
demux_ty_osd.c warning fix (missing C initializers) 2003-09-12 15:55:45 +00:00
demux_ty.c TiVo demuxer and sub-cc/osd decoder 2003-06-09 00:24:49 +00:00
demux_viv.c fixed 2 10l-s (bug found in the spring cleanup patch by Raindel Shachar 2003-04-21 11:18:54 +00:00
demux_xmms_plugin.h
demux_xmms.c Removed the historic cfgparser and switched full to the new config parser (altought some macros still remain for compatibility). As a side effect 90% of the warning messages are gone from the core. Things should be cleaner now and less confusing for newbies. 2003-08-13 16:29:32 +00:00
demux_y4m.c fix crash on streams with frame tags, patch by Brett Kosinski <brettk@frodo.dyn.gno.org> 2003-03-22 19:50:10 +00:00
demuxer.c Fixed 'reading after EOF'. demuxers didn't check, how many they've read! 2003-09-20 12:50:25 +00:00
demuxer.h Proper demuxer number for the MPEG4-in-TS demuxer. Patch by Nico <nsabbi@libero.it>. 2003-08-29 08:03:56 +00:00
dvb_defaults.h this is a combo patch that: 2003-03-16 20:13:28 +00:00
dvb_tune.c 1000l 2003-08-14 01:05:49 +00:00
dvbin.c This patch fixes: 2003-08-27 17:08:58 +00:00
dvbin.h this patch fixes 2003-08-11 00:02:46 +00:00
dvdauth.c dvd:// corrected to -dvdauth as outlined by LGB on dev-eng + rewording. 2003-08-04 23:20:49 +00:00
dvdauth.h
dvdnav_stream.c linux->osdep 2003-02-09 20:18:23 +00:00
dvdnav_stream.h
extension.c - mpeg extensions removed, it causes misdetction of renamed avi/asf files 2003-01-28 01:18:43 +00:00
frequencies.c
frequencies.h
genres.h
help_mp.h
http.c
http.h
Makefile --dvbincdir support by Gotz Waschk <waschk@informatik.uni-rostock.de> 2003-08-17 20:56:40 +00:00
matroska.h Support for SSA text subs in Matroska. Patch partially by Tristan <z80@oceanfree.net>. 2003-09-10 12:50:29 +00:00
mf.c enable mf support on mingw32 2003-04-25 10:20:15 +00:00
mf.h Stream cleanup, don't use blah_on options anymore. 2003-03-30 17:07:31 +00:00
mp3_hdr.c codmetics (noticed by Alex) 2003-07-04 21:04:14 +00:00
mp3_hdr.h
mp_msg.h
mpeg_hdr.c
mpeg_hdr.h
muxer_avi.c
muxer_mpeg.c
muxer.c
muxer.h
netstream.h Using recv/send instead read/write for proper MinGW support (it's a 4.2BSD standard). Patch by FloDt <flodt8@yahoo.de> 2003-05-29 19:36:58 +00:00
network.c ftp support. The change on connect2Server is needed bcs we need 2 2003-08-15 19:13:23 +00:00
network.h ftp support. The change on connect2Server is needed bcs we need 2 2003-08-15 19:13:23 +00:00
nuppelvideo.h
open.c cdda && cddb aren't uris too (hopefully all the pseudo urls are catched before url_new()) 2003-09-03 19:26:33 +00:00
parse_es.c
parse_es.h
parse_mp4.c
parse_mp4.h
pnm.c fake newer realplayer version 2003-06-30 16:42:38 +00:00
pnm.h
qtpalette.h Support for grayscale paletted files. Patch by Dima K <dimakar@yahoo.com> 2003-09-02 14:48:49 +00:00
README
rtp.c Networking support under MinGW. 2003-06-11 16:48:09 +00:00
rtp.h Networking support under MinGW. 2003-06-11 16:48:09 +00:00
stheader.h
stream_file.c Spelling police: 2003-08-14 12:15:44 +00:00
stream_ftp.c fix compilation on mingw 2003-08-17 11:07:18 +00:00
stream_netstream.c serious bugs - 1l absinth (changed to absinth against cola inflation) 2003-08-31 18:51:05 +00:00
stream_null.c Add a null streamv Currently used for tv and mf. Could be used to 2003-04-10 10:59:12 +00:00
stream_vcd.c Fix -cdrom-device to work again with cdda and vcd. 2003-08-13 11:18:24 +00:00
stream.c serious bugs - 1l absinth (changed to absinth against cola inflation) 2003-08-31 18:51:05 +00:00
stream.h Removed the historic cfgparser and switched full to the new config parser (altought some macros still remain for compatibility). As a side effect 90% of the warning messages are gone from the core. Things should be cleaner now and less confusing for newbies. 2003-08-13 16:29:32 +00:00
test.c Fix test compilation 2003-03-30 17:14:41 +00:00
tv.c audio id setting support for bsdbt848 by Nikolay Nikolaev <nicknickolaev@yahoo.com> 2003-09-06 00:24:05 +00:00
tv.h audio id setting support for bsdbt848 by Nikolay Nikolaev <nicknickolaev@yahoo.com> 2003-09-06 00:24:05 +00:00
tvi_bsdbt848.c audio id setting support for bsdbt848 by Nikolay Nikolaev <nicknickolaev@yahoo.com> 2003-09-06 00:24:05 +00:00
tvi_def.h
tvi_dummy.c
tvi_v4l2.c 1000l 2003-09-12 08:10:32 +00:00
tvi_v4l.c Fix immediatemode with mplayer (ie playing both sound and video) 2003-09-01 12:10:29 +00:00
url.c Added some special-case code for checking for "sip:" URLs (because they 2003-05-03 06:16:07 +00:00
url.h Added support for IPv6 numeric url like: http://[3ffe:400:100::1]:80/file 2003-03-26 11:27:48 +00:00
vcd_read_fbsd.h typo fix 2003-04-10 08:34:43 +00:00
vcd_read_nbsd.h Make the vcd API fully reentrant. 2003-04-09 07:33:59 +00:00
vcd_read.h solaris fix by Gtz Waschk <waschk@informatik.uni-rostock.de> 2003-06-17 22:28:29 +00:00
video.c printing fps with 3 dec digit instead of 2 2003-08-27 22:30:54 +00:00
videodev2.h v4l2 support 2003-08-07 12:18:04 +00:00
yuv4mpeg_intern.h
yuv4mpeg_ratio.c
yuv4mpeg.c
yuv4mpeg.h remove ssize_t mess 2003-05-30 17:38:51 +00:00

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