vlc.git
11 years agoOnly use file size for regular files. Allow seeking block devices.
Rémi Denis-Courmont [Thu, 5 Feb 2009 16:34:43 +0000 (18:34 +0200)]
Only use file size for regular files. Allow seeking block devices.

Block special files are always seekable. File size is undefined for
non-regular files.

11 years agoaccess_file: cosmetics
Rémi Denis-Courmont [Thu, 5 Feb 2009 15:52:52 +0000 (17:52 +0200)]
access_file: cosmetics

11 years agoDo not reinvent eventfd. Won't work if syscall.h is old.
Rémi Denis-Courmont [Thu, 5 Feb 2009 15:26:33 +0000 (17:26 +0200)]
Do not reinvent eventfd. Won't work if syscall.h is old.

11 years agoMenu key triggers the popup menu
Rémi Denis-Courmont [Wed, 4 Feb 2009 20:56:19 +0000 (22:56 +0200)]
Menu key triggers the popup menu

That particular key is supposed to work that way.

11 years agomacosx: really fixed packaging of the Mozilla/Safari plugin
Felix Paul Kühne [Wed, 4 Feb 2009 22:41:02 +0000 (23:41 +0100)]
macosx: really fixed packaging of the Mozilla/Safari plugin

Note that it will try to use the X11 vout right now, so you won't get any visible video output

11 years agoXCB key press handling
Rémi Denis-Courmont [Tue, 3 Feb 2009 21:49:15 +0000 (23:49 +0200)]
XCB key press handling

Windows-specific keys are missing (found in XFree86?).
Mouse wheel is implemented with mouse events (like X11); afterall it is
not on the KEYboard.

11 years agoSet libvlccore and libvlc versions to that of 0.9.9 + 1
Rémi Denis-Courmont [Wed, 4 Feb 2009 16:01:45 +0000 (18:01 +0200)]
Set libvlccore and libvlc versions to that of 0.9.9 + 1

Also libvlccore is not backward compatible, whereas libvlc is.

11 years agos/41000/44100 in sout panel
Jean-Baptiste Kempf [Wed, 4 Feb 2009 11:44:17 +0000 (12:44 +0100)]
s/41000/44100 in sout panel

11 years agoi18n: Fix
Christophe Mutricy [Tue, 3 Feb 2009 22:32:02 +0000 (22:32 +0000)]
i18n: Fix

11 years agoFix non posix test construction in configure.
Alexis Ballier [Tue, 3 Feb 2009 20:10:04 +0000 (21:10 +0100)]
Fix non posix test construction in configure.

POSIX does not document the == construction for test; Even if GNU test and bash builtin allow it, configure is run by sh and FreeBSD test does not allow it so that this test is always false there.

Signed-off-by: Christophe Mutricy <xtophe@videolan.org>
11 years agoAdd more CDDA informations to the playlist node.
Laurent Aimar [Tue, 3 Feb 2009 22:51:53 +0000 (23:51 +0100)]
Add more CDDA informations to the playlist node.

11 years agoDecrease fixed point decoder priority to lower than ffmpeg.
Laurent Aimar [Tue, 3 Feb 2009 21:50:28 +0000 (22:50 +0100)]
Decrease fixed point decoder priority to lower than ffmpeg.

11 years agomacosx: removed settings for the former access-filters
Felix Paul Kühne [Tue, 3 Feb 2009 17:43:56 +0000 (18:43 +0100)]
macosx: removed settings for the former access-filters

11 years agomacosx: Renamed 'Quick Open File' to 'Open File' and 'Open File' to 'Advanced Open...
Felix Paul Kühne [Tue, 3 Feb 2009 16:15:50 +0000 (17:15 +0100)]
macosx: Renamed 'Quick Open File' to 'Open File' and 'Open File' to 'Advanced Open File' and switched the menu order accordingly to provide the same names as the Qt4 intf

11 years agomacosx: resized to the open dialogue again and cleaned-up the screen input section
Felix Paul Kühne [Tue, 3 Feb 2009 16:12:48 +0000 (17:12 +0100)]
macosx: resized to the open dialogue again and cleaned-up the screen input section

11 years agomozilla: keep version info automatically up-to-date.
Jean-Paul Saman [Tue, 3 Feb 2009 15:41:49 +0000 (16:41 +0100)]
mozilla: keep version info automatically up-to-date.

11 years agoImprove spectrum visualization. Change options : the number of bands for the spectrum...
Adrien Maglo [Tue, 3 Feb 2009 12:48:10 +0000 (13:48 +0100)]
Improve spectrum visualization. Change options : the number of bands for the spectrum and spectrometer visualization is now set with a boolean. Ban some actions to avoid segfaults in visualizations.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years agox11: fix compiler warnings.
Rémi Duraffort [Tue, 3 Feb 2009 10:49:21 +0000 (11:49 +0100)]
x11: fix compiler warnings.

11 years agofix overriden variables.
Rémi Duraffort [Sun, 1 Feb 2009 17:35:21 +0000 (18:35 +0100)]
fix overriden variables.

11 years agounused variables.
Rémi Duraffort [Sun, 1 Feb 2009 16:25:29 +0000 (17:25 +0100)]
unused variables.

11 years agovlc_url.h: warning about overriden variable.
Rémi Duraffort [Sun, 1 Feb 2009 16:23:18 +0000 (17:23 +0100)]
vlc_url.h: warning about overriden variable.

11 years agotaglib: fix warning about overriden variable.
Rémi Duraffort [Sun, 1 Feb 2009 16:19:41 +0000 (17:19 +0100)]
taglib: fix warning about overriden variable.

11 years agoi18n: Fix in the popup menu
Christophe Mutricy [Mon, 2 Feb 2009 23:04:10 +0000 (23:04 +0000)]
i18n: Fix in the popup menu

Pointed-By: Eric Lassauge
11 years agolive555: unbreak windows RTSP servers (introduced in c0d37c7c881712e182f03b52d0b00a91...
Jean-Paul Saman [Mon, 2 Feb 2009 22:33:10 +0000 (23:33 +0100)]
live555: unbreak windows RTSP servers (introduced in c0d37c7c881712e182f03b52d0b00a911cab81ac).

11 years agomozilla: update the version number
Jean-Paul Saman [Mon, 2 Feb 2009 20:41:52 +0000 (21:41 +0100)]
mozilla: update the version number

11 years agomozilla: fix MacOS X plugin packaging
Jean-Paul Saman [Mon, 2 Feb 2009 20:37:52 +0000 (21:37 +0100)]
mozilla: fix MacOS X plugin packaging

11 years agoSub filter deadlock fixes.
Laurent Aimar [Mon, 2 Feb 2009 20:49:52 +0000 (21:49 +0100)]
Sub filter deadlock fixes.

The original idea and debug come from basos g patch with the following
comment:

"A dead lock was created when adding an spu filter (like marq)
because the same mutex was used for spu->p stuff and sub filter
chain (p_spu->p->p_chain)."

 I implemented the creation/destruction of the chain outside the sub-filter
callback.

11 years agoDelete sub-filter callback before destroying p_spu memebers...
Laurent Aimar [Mon, 2 Feb 2009 21:09:25 +0000 (22:09 +0100)]
Delete sub-filter callback before destroying p_spu memebers...

11 years agoQt4: use --x11-display
Rémi Denis-Courmont [Mon, 2 Feb 2009 21:16:19 +0000 (23:16 +0200)]
Qt4: use --x11-display

11 years agoQt4: use the display we've opened
Rémi Denis-Courmont [Mon, 2 Feb 2009 21:14:52 +0000 (23:14 +0200)]
Qt4: use the display we've opened

11 years agoUse --x11-display whenever calling XOpenDisplay (except Qt4 this far)
Rémi Denis-Courmont [Mon, 2 Feb 2009 20:32:41 +0000 (22:32 +0200)]
Use --x11-display whenever calling XOpenDisplay (except Qt4 this far)

11 years agoVariable inheritance hints
basos G [Sun, 11 Jan 2009 02:51:27 +0000 (04:51 +0200)]
Variable inheritance hints

Added a comment to describe inheritable variables
Added debug messages to get clues about variable
inheritance final source

Signed-off-by: Laurent Aimar <fenrir@videolan.org>
11 years agoFixed qt4 extended panel for "spatializer" module.
Laurent Aimar [Mon, 2 Feb 2009 20:03:31 +0000 (21:03 +0100)]
Fixed qt4 extended panel for "spatializer" module.

11 years agoTranslate Kate category tags to display a more user friendly menu.
ogg.k.ogg.k [Sun, 1 Feb 2009 13:28:38 +0000 (13:28 +0000)]
Translate Kate category tags to display a more user friendly menu.

Signed-off-by: Laurent Aimar <fenrir@videolan.org>
11 years agoDrawable: separate XIDs and HWNDs
Rémi Denis-Courmont [Mon, 2 Feb 2009 19:39:07 +0000 (21:39 +0200)]
Drawable: separate XIDs and HWNDs

Also partially (internally only) fix missing Win64 drawable bits

11 years agoImprove libvlc drawable documentation
Rémi Denis-Courmont [Mon, 2 Feb 2009 19:02:39 +0000 (21:02 +0200)]
Improve libvlc drawable documentation

11 years agoReimplement libvlc_video_set_parent back-end as a plugin
Rémi Denis-Courmont [Mon, 2 Feb 2009 18:28:18 +0000 (20:28 +0200)]
Reimplement libvlc_video_set_parent back-end as a plugin

If multiple video ouputs exist, only one will now use the drawable.
This still does not implement drawable size, window type and probably
Win64 support properly.

Also, this is not currently used by libvlc_media_player_set_drawable
although it probably should. This function looks pretty weirdly -to
stay polite- implemented.

11 years agoRemove old core drawable support
Rémi Denis-Courmont [Mon, 2 Feb 2009 18:22:53 +0000 (20:22 +0200)]
Remove old core drawable support

11 years agoWin32: generate gdb symbol files for every dll
Geoffroy Couprie [Mon, 2 Feb 2009 12:29:32 +0000 (13:29 +0100)]
Win32: generate gdb symbol files for every dll

11 years agoVout: Small rewording
Jean-Baptiste Kempf [Mon, 2 Feb 2009 02:54:36 +0000 (03:54 +0100)]
Vout: Small rewording

11 years agoNEWS
Jean-Baptiste Kempf [Mon, 2 Feb 2009 02:51:19 +0000 (03:51 +0100)]
NEWS

11 years agoChange include order for padding
Jean-Baptiste Kempf [Mon, 2 Feb 2009 02:38:18 +0000 (03:38 +0100)]
Change include order for padding

11 years agoVout: autoscaling support for windows
Joseph Tulou [Fri, 30 Jan 2009 16:46:47 +0000 (17:46 +0100)]
Vout: autoscaling support for windows

Modifications by /me
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years agoSDL: support for autoscaling
Joseph Tulou [Fri, 30 Jan 2009 16:30:35 +0000 (17:30 +0100)]
SDL: support for autoscaling

Modifications by /me
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years agoVout-filter modification for autoscaling
Joseph Tulou [Fri, 30 Jan 2009 16:29:59 +0000 (17:29 +0100)]
Vout-filter modification for autoscaling

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years agoGalaktos: compile fix and variable unused removal
Joseph Tulou [Fri, 30 Jan 2009 16:29:18 +0000 (17:29 +0100)]
Galaktos: compile fix and variable unused removal

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years agoOpengGL support for the auto-scaling
Joseph Tulou [Fri, 30 Jan 2009 16:30:29 +0000 (17:30 +0100)]
OpengGL support for the auto-scaling

Modifications by /me
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years agoCore implementation of --[no]-autoscale and --scale with x11 vout support
Joseph Tulou [Fri, 30 Jan 2009 16:28:42 +0000 (17:28 +0100)]
Core implementation of --[no]-autoscale and --scale with x11 vout support

Modifications by /me (renaming, var_Get, hotkeys, etc..)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years agoRemove leading ':sout=' from strings returned by output selection dialog
Mark Bidewell [Thu, 29 Jan 2009 00:29:38 +0000 (19:29 -0500)]
Remove leading ':sout=' from strings returned by output selection dialog

The leading :sout=  appears to confuse the destination parser which causes the sout to be prepended with an empty access and mux resulting in an invalid output chain.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years agoQt: Profiles Editor for the transcoding.
Jean-Baptiste Kempf [Mon, 2 Feb 2009 00:59:56 +0000 (16:59 -0800)]
Qt: Profiles Editor for the transcoding.

Still a lot of testing and fixing needed.
The profiles are still in the main Qt Settings file.

11 years agoQt: remove unneeded debug.
Jean-Baptiste Kempf [Mon, 2 Feb 2009 00:59:42 +0000 (16:59 -0800)]
Qt: remove unneeded debug.

11 years agoQt: small visual change in Open Disk
Jean-Baptiste Kempf [Mon, 2 Feb 2009 00:57:53 +0000 (16:57 -0800)]
Qt: small visual change in Open Disk

11 years agoSkins2: change DTD to add possibility to store ID for Anchors, Panels and Groups.
Daniel Dreibrodt [Sun, 1 Feb 2009 17:19:48 +0000 (18:19 +0100)]
Skins2: change DTD to add possibility to store ID for Anchors, Panels and Groups.

It adds possibility to store IDs for Anchors, Panels and Groups.
This does not change the way skins2 works I believe. It just stops the
XML parser from complaining about non standard skins when they have set
IDs for those elements. And setting IDs for them is vital in the skin
editor, as it differentiates between different elements in the skin just
by their ID.

11 years agoEnable telx decoder when zvbi is disabled.
Laurent Aimar [Sun, 1 Feb 2009 16:55:14 +0000 (17:55 +0100)]
Enable telx decoder when zvbi is disabled.

11 years agoImproved CDDB information support in cdda.c
Laurent Aimar [Sun, 1 Feb 2009 13:45:28 +0000 (14:45 +0100)]
Improved CDDB information support in cdda.c

11 years agoChanged vlc_meta_SetTracknum to *Num for consistency.
Laurent Aimar [Sun, 1 Feb 2009 13:46:43 +0000 (14:46 +0100)]
Changed vlc_meta_SetTracknum to *Num for consistency.

11 years agoWin32: generate stacktrace on unhandled exception
Geoffroy Couprie [Sun, 1 Feb 2009 13:30:40 +0000 (14:30 +0100)]
Win32: generate stacktrace on unhandled exception

11 years agoSmall cleanup
Rémi Denis-Courmont [Sun, 1 Feb 2009 12:36:01 +0000 (14:36 +0200)]
Small cleanup

11 years agoUseless property
Rémi Denis-Courmont [Sun, 1 Feb 2009 12:31:02 +0000 (14:31 +0200)]
Useless property

11 years agoInteraction: remove dummy new state
Rémi Denis-Courmont [Sun, 1 Feb 2009 12:30:47 +0000 (14:30 +0200)]
Interaction: remove dummy new state

11 years agoInteraction: unused parameter
Rémi Denis-Courmont [Sun, 1 Feb 2009 11:04:20 +0000 (13:04 +0200)]
Interaction: unused parameter

11 years agoInteraction: logically dead code
Rémi Denis-Courmont [Sun, 1 Feb 2009 11:01:35 +0000 (13:01 +0200)]
Interaction: logically dead code

11 years agoInteraction: avoid thread if there is no provider
Rémi Denis-Courmont [Sun, 1 Feb 2009 10:56:47 +0000 (12:56 +0200)]
Interaction: avoid thread if there is no provider

11 years agoInteraction: set the p_parent field
Rémi Denis-Courmont [Sun, 1 Feb 2009 10:56:23 +0000 (12:56 +0200)]
Interaction: set the p_parent field

I wonder why it was there in the first place.

11 years agoFix another location having the same does-not-compile problem
ogg.k.ogg.k [Sun, 1 Feb 2009 10:07:36 +0000 (10:07 +0000)]
Fix another location having the same does-not-compile problem

Signed-off-by: Rémi Denis-Courmont <rdenis@simphalempin.com>
11 years agoFix skins2 compile (broken by 8e0a2de24336bb68b6aee5a701025bfb1e01ac24)
ogg.k.ogg.k [Sun, 1 Feb 2009 10:03:18 +0000 (10:03 +0000)]
Fix skins2 compile (broken by 8e0a2de24336bb68b6aee5a701025bfb1e01ac24)

Signed-off-by: Rémi Denis-Courmont <rdenis@simphalempin.com>
11 years agoMemory leak (fixes #2442)
Rémi Denis-Courmont [Sun, 1 Feb 2009 07:20:26 +0000 (09:20 +0200)]
Memory leak (fixes #2442)

11 years agoWin32: fix NULL-deref in non embedded video mode (fixes #2426)
Rémi Denis-Courmont [Sun, 1 Feb 2009 07:09:22 +0000 (09:09 +0200)]
Win32: fix NULL-deref in non embedded video mode (fixes #2426)

11 years agoSkins2: partial vout window fixes
Rémi Denis-Courmont [Sun, 1 Feb 2009 07:05:04 +0000 (09:05 +0200)]
Skins2: partial vout window fixes

This remains seemingly badly unsafe

11 years agoVorbis quality is limited to 0-10
Christophe Mutricy [Sat, 31 Jan 2009 22:55:35 +0000 (22:55 +0000)]
Vorbis quality is limited to 0-10

11 years agoTypo
Christophe Mutricy [Sat, 31 Jan 2009 22:55:11 +0000 (22:55 +0000)]
Typo

11 years agoi18n: Don't translate language names
Christophe Mutricy [Fri, 30 Jan 2009 22:14:46 +0000 (22:14 +0000)]
i18n: Don't translate language names

Leave them in their respective language so that people get a chance to
go back to their language if they mess with language settings

11 years agoProgress interaction: remove useless parameter
Rémi Denis-Courmont [Sat, 31 Jan 2009 22:18:14 +0000 (00:18 +0200)]
Progress interaction: remove useless parameter

11 years agoInteraction: remove (buggy and useless) dialog IDs
Rémi Denis-Courmont [Sat, 31 Jan 2009 22:04:40 +0000 (00:04 +0200)]
Interaction: remove (buggy and useless) dialog IDs

11 years agoDon't reinvent __arm__
Rémi Denis-Courmont [Sat, 31 Jan 2009 21:02:38 +0000 (23:02 +0200)]
Don't reinvent __arm__

11 years agoAvoid dlclose() only when valgrind is running
Rémi Denis-Courmont [Sat, 31 Jan 2009 21:00:10 +0000 (23:00 +0200)]
Avoid dlclose() only when valgrind is running

11 years agoshine: protect against invalid bitrate and cleanup.
Jean-Paul Saman [Sat, 31 Jan 2009 17:04:22 +0000 (18:04 +0100)]
shine: protect against invalid bitrate and cleanup.

11 years agoSegregate vout window types
Rémi Denis-Courmont [Sat, 31 Jan 2009 18:40:17 +0000 (20:40 +0200)]
Segregate vout window types

11 years agoCleanup vout window handle typedef
Rémi Denis-Courmont [Sat, 31 Jan 2009 18:18:17 +0000 (20:18 +0200)]
Cleanup vout window handle typedef

11 years agoFormat string
Rémi Denis-Courmont [Sat, 31 Jan 2009 18:15:32 +0000 (20:15 +0200)]
Format string

11 years agoWin32: attempt to fix VLC_STATIC_MUTEX in C++ code
Rémi Denis-Courmont [Sat, 31 Jan 2009 18:12:26 +0000 (20:12 +0200)]
Win32: attempt to fix VLC_STATIC_MUTEX in C++ code

11 years agoLinux: re-implement eventfd() against old glibc versions
Rémi Denis-Courmont [Sat, 31 Jan 2009 16:47:44 +0000 (18:47 +0200)]
Linux: re-implement eventfd() against old glibc versions

11 years agoLinux: vlc_threadid() returns TID instead of kludging pthread_self()
Rémi Denis-Courmont [Sat, 31 Jan 2009 16:45:20 +0000 (18:45 +0200)]
Linux: vlc_threadid() returns TID instead of kludging pthread_self()

11 years agoSuperfluous #includes
Rémi Denis-Courmont [Sat, 31 Jan 2009 16:41:52 +0000 (18:41 +0200)]
Superfluous #includes

11 years agoRemoved link to old subdirectory not present in lua http interface
Vicente Jimenez Aguilar [Fri, 16 Jan 2009 19:09:02 +0000 (20:09 +0100)]
Removed link to old subdirectory not present in lua http interface

Signed-off-by: Rémi Denis-Courmont <rdenis@simphalempin.com>
11 years agoshine: Forward port of fixed integer MP3 encoder.
Jean-Paul Saman [Fri, 30 Jan 2009 13:28:24 +0000 (14:28 +0100)]
shine: Forward port of fixed integer MP3 encoder.

The fixed integer MP3 encoder shine originates from the RockBox project. It was then adapted for vlc in branch 0.8.6-neuros.

11 years agowma-fixed: Forward port of fixed integer WMA v1/2 decoder.
Jean-Paul Saman [Fri, 30 Jan 2009 11:05:48 +0000 (12:05 +0100)]
wma-fixed: Forward port of fixed integer WMA v1/2 decoder.

The fixed integer WMA v1/2 decoder originates from the ffmpeg project and has been changed into a fixed integer decoder by the RockBox project. It was then adapted for vlc in the 0.8.6-neuros branch.

11 years agoobjects: check for HAVE_SYS_EVENTFD_H it is more reliable then HAVE_EVENTFD
Jean-Paul Saman [Mon, 26 Jan 2009 08:06:59 +0000 (09:06 +0100)]
objects: check for HAVE_SYS_EVENTFD_H it is more reliable then HAVE_EVENTFD

11 years agol10n: Occitan update
GAILLARD Tony [Thu, 29 Jan 2009 23:07:26 +0000 (23:07 +0000)]
l10n: Occitan update

Signed-off-by: Christophe Mutricy <xtophe@videolan.org>
11 years agoAdd new files and remove wx
Christophe Mutricy [Thu, 29 Jan 2009 23:04:41 +0000 (23:04 +0000)]
Add new files and remove wx

11 years agoQt: fix video widget size
Jean-Philippe Andre [Thu, 29 Jan 2009 22:30:08 +0000 (23:30 +0100)]
Qt: fix video widget size

11 years agoXCB: minimalistic window (i.e. non-embedded) support
Rémi Denis-Courmont [Thu, 29 Jan 2009 21:28:48 +0000 (23:28 +0200)]
XCB: minimalistic window (i.e. non-embedded) support

TBD: title and control requests

11 years agoMemory leak
Rémi Denis-Courmont [Thu, 29 Jan 2009 20:58:06 +0000 (22:58 +0200)]
Memory leak

11 years agoAdd p_sys to vout_window_t
Rémi Denis-Courmont [Thu, 29 Jan 2009 20:51:53 +0000 (22:51 +0200)]
Add p_sys to vout_window_t

11 years agoXCB: duplicate values from output to fmt_out
Rémi Denis-Courmont [Thu, 29 Jan 2009 20:01:40 +0000 (22:01 +0200)]
XCB: duplicate values from output to fmt_out

The image still misses borders due to Qt4 window provider not returning
the correct height (it pretends the window is bigger than it is).

11 years agoQt: no need to iterate two times. always disable empty menus
Jean-Philippe Andre [Thu, 29 Jan 2009 18:31:53 +0000 (19:31 +0100)]
Qt: no need to iterate two times. always disable empty menus

Note: in some rare case when p_aout != NULL but the audio
      ouput is "empty" (no track), then the visualizations
      are still enabled (but of course, you can't use them).

11 years agoXCB: trigger the pop-up menu
Rémi Denis-Courmont [Thu, 29 Jan 2009 18:22:31 +0000 (20:22 +0200)]
XCB: trigger the pop-up menu

IMHO, this should really be a vout variable though - how is the UI
supposed to know which video output is triggering otherwise?

11 years agoFix double translation
Rémi Denis-Courmont [Thu, 29 Jan 2009 16:23:31 +0000 (18:23 +0200)]
Fix double translation

11 years agoRevert "fix buffer overflows."
Rémi Duraffort [Thu, 29 Jan 2009 16:03:36 +0000 (17:03 +0100)]
Revert "fix buffer overflows."

We use a sizeof and not a strlen so that's ok.

This reverts commit 8ecb5ba1086fc58bf12e33a2de8e73fe859bc33e.

11 years agofix buffer overflows.
Rémi Duraffort [Thu, 29 Jan 2009 15:56:10 +0000 (16:56 +0100)]
fix buffer overflows.