1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-25 08:12:17 +00:00
Commit Graph

9378 Commits

Author SHA1 Message Date
arpi
1de6f0cf9e disable free() in string and string_list parsers. yes, it's a hack
(and a little memleak), but i can explain :)
[note it's just a few kB memleak, but it's the price of stability without
full code review/audit - there are hunderds of possible double free()]

the old config parser didn't free() strings/stringlists, but didn't even
allocate them by default. the new one always free(), and it causes
memcorruption/sig11 at cases like this:

char* dvd_device="/dev/dvd";
        {"dvd-device", &dvd_device,  CONF_TYPE_STRING, 0, 0, 0, NULL},

since string constansts (allocated in .TEXT segment) cannot be free()'d


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9178 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-30 21:28:01 +00:00
henry
142ebc5c38 better fix of vo_aa font segfault
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9177 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-30 19:58:43 +00:00
gabucino
f31e7522e2 sync
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9176 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-30 19:35:10 +00:00
gabucino
1b44ca5e53 closing some tags in Zr section
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9175 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-30 19:32:19 +00:00
gabucino
a84096f87d fixing af_volume vs PCM vs MASTER issue
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9174 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-30 18:45:19 +00:00
henry
cbe477614e another sanity check against vo_aa font hack
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9173 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-30 18:43:08 +00:00
michael
49a3af8585 fixing rgb4 & bgr4 (2 pixels per byte)
adding bg4b & rg4b (1 pixel per byte)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9172 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-30 09:15:09 +00:00
arpi
6df2ca6ea6 hopefully better uninit check
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9171 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-29 23:28:55 +00:00
arpi
0997e96229 - fixed the input buffering (don't read input unless we're already processed
all decoded samples)
- fix 100l bug: uninitialized ogg_packet structure caused tremor to hang


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9170 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-29 22:45:07 +00:00
nicolas
cc33989342 sync
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9169 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-29 22:37:39 +00:00
nicolas
cc556272df sync
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9168 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-29 22:26:33 +00:00
gabucino
7badb1f12c use MASTER instead of PCM
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9167 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-29 22:20:36 +00:00
gabucino
1f6c906934 raw->rawrgb
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9166 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-29 22:19:52 +00:00
nicolas
f284864611 renumbered sections according to TOC
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9165 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-29 21:56:07 +00:00
arpi
a5fe487b50 100l... ogg-in-avi (type 0xFFFE) fix
sizeof(WAVEFORMATEX) is 18, since i've fixed struct align, so
2*sizeof(WAVEFORMATEX) is !=40 any more.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9164 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-29 21:53:56 +00:00
jonas
40f4145098 10l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9163 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-29 21:47:04 +00:00
arpi
e0b4adbe65 -fixed-vo vs. panscan vs. 'f' vs. -fs fix
patch by Jindrich Makovicka <makovick@kmlinux.fjfi.cvut.cz>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9162 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-29 20:25:01 +00:00
gabucino
90b23aff61 Here is updated manual (24.01.2003).
- by imoteph


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9161 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-29 17:23:23 +00:00
atmos4
946df86403 0.0357l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9160 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-29 16:48:36 +00:00
atmos4
c644a7c375 100l, fix by pfred1 <pfred1 at bellatlantic.net> anyways I should update the script for lavc etc
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9159 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-29 15:10:42 +00:00
gabucino
b32cd557f5 sync
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9158 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-29 13:53:40 +00:00
arpi
2b8643963c double free(), found by Olivier Galibert <galibert@pobox.com>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9157 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-29 12:22:00 +00:00
michael
ee79e97c5e CONFIG_RISKY
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9156 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-29 12:16:18 +00:00
arpi
8b5ba50729 typo
patch by Jerome Mainka <mainka@antidot.net>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9155 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-29 11:45:42 +00:00
diego
192ad8b203 Table headers make for nicer tables and better semantic markup.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9154 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-29 10:40:25 +00:00
arpi
fdb993b995 10l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9153 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-29 10:00:40 +00:00
gabucino
20090ed6e6 added OGM and CC
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9152 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-28 23:10:51 +00:00
gabucino
ad7a8a059a 10l (mplaja can't dump vobsub)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9151 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-28 23:01:37 +00:00
arpi
83d0427925 removed nonsense (and confusing) defaults
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9150 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-28 22:04:07 +00:00
arpi
3277c61b77 type autodetection (from filemask/filelist extension)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9149 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-28 22:00:57 +00:00
gabucino
4b0d46d3a4 xinerama bug fixed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9148 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-28 19:15:00 +00:00
gabucino
26d8b01b12 sync
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9147 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-28 19:13:37 +00:00
henry
e633df0399 sub_utf8 handling hopefully fixed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9146 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-28 18:45:58 +00:00
arpi
0e2e9bb30f update
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9145 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-28 18:38:26 +00:00
arpi
7e5bca4243 maybe fix ogm vs. iconv
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9144 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-28 18:28:09 +00:00
gabucino
dc2eda37b3 removed. (obsolete) :((( TODO: translate english man
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9143 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-28 17:44:31 +00:00
arpi
23015ad574 nice 10l bug, found by Balatoni Denes <pnis@coder.hu>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9142 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-28 17:25:53 +00:00
gabucino
0e31e45dc3 sync
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9141 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-28 17:16:23 +00:00
gabucino
e36e2034a5 changing "switch" -> "option" (unwritten DOCS rule)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9140 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-28 17:14:06 +00:00
gabucino
d6178fc7e8 changing "switch" -> "option" (unwritten DOCS rule)
other important fixes, updates


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9139 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-28 17:11:57 +00:00
diego
9cc4443e57 skin-en.html ---> skin.html, a typo and reversed Gabu's Cygwin "fix".
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9138 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-28 01:46:53 +00:00
diego
7f271cf28d skin-XY.html ---> skin.html
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9137 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-28 01:42:13 +00:00
diego
bebe2b1718 Cosmetics, a typo and some rewording.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9136 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-28 01:33:58 +00:00
arpi
acfac05390 - mpeg extensions removed, it causes misdetction of renamed avi/asf files
- .mp4 added
- playlist exts removed, since DEMUX_TYPE_PLAYLIST is dummy, it will never
  return demuxer!=NULL


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9135 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-28 01:18:43 +00:00
arpi
38ca2416c1 argh, i forgot to 'cvs add' it (again)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9134 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-28 01:02:07 +00:00
arpi
12e073b638 1000l bug (double free() when libaf init failed)
thanx for their help:
Michael Mauch <michael.mauch@gmx.de>
Marc Packenius <marc@freenet-rz.de>
Bartek Kulicki <bartek@interecho.com>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9133 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-28 00:59:34 +00:00
arpi
7d11e17fb3 The code for converting RGB to YUV in bmovl is slow because it uses
floating point arithmetic. The attached patch changes it to use integers
instead, giving about a 2x performance boost on animations.
Jonas Jensen <jbj@knef.dk>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9132 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-28 00:27:59 +00:00
arpi
14dbc88482 In mp3lib/sr1.c, look at the line 226:
if(fr->sampling_frequency>8) return FALSE;  // valid: 0..8
which allows fr->sampling_frequency to go up to 8.
Obviously, the code does not bother about what would happen if
fr->sampling_frequency lies in the range [3,8].
patch from Nilmoni Deb, Nick?, Rich


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9131 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-28 00:25:38 +00:00
arpi
0cf1424936 libgif/libungif based demuxer support for libmpdemux.
patch by Joey Parrish <joey@nicewarrior.org>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9130 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-28 00:12:23 +00:00
arpi
7b603cfb2c probably bad fix, but it's reported to fix hwac3 problems appeared in rc3
i have no idea about the real problem :(


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9129 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-28 00:08:30 +00:00