vlc.git
11 years agokill a warning
Geoffroy Couprie [Thu, 20 Aug 2009 18:19:58 +0000 (20:19 +0200)]
kill a warning

11 years agotest: Remove unused variable.
Pierre d'Herbemont [Thu, 20 Aug 2009 19:54:28 +0000 (21:54 +0200)]
test: Remove unused variable.

11 years agoaa: Mark unused args.
Pierre d'Herbemont [Thu, 20 Aug 2009 19:46:32 +0000 (21:46 +0200)]
aa: Mark unused args.

11 years agoRealAudio: fix compile for Win32
Jean-Baptiste Kempf [Thu, 20 Aug 2009 19:39:46 +0000 (21:39 +0200)]
RealAudio: fix compile for Win32

11 years agoSolved I420_Rgb build
Hugo Beauzee-Luyssen [Thu, 20 Aug 2009 19:23:46 +0000 (21:23 +0200)]
Solved I420_Rgb build

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years agoQuicktime: fix warning
Jean-Baptiste Kempf [Thu, 20 Aug 2009 19:02:54 +0000 (21:02 +0200)]
Quicktime: fix warning

11 years agoFrimp
Jean-Baptiste Kempf [Thu, 20 Aug 2009 18:40:20 +0000 (20:40 +0200)]
Frimp

11 years agolibmpeg2: Only define GetCC when needed.
Pierre d'Herbemont [Thu, 20 Aug 2009 18:36:59 +0000 (20:36 +0200)]
libmpeg2: Only define GetCC when needed.

11 years agoFix compile if you don't have localtime_r (Win32 for ex)
Jean-Baptiste Kempf [Thu, 20 Aug 2009 18:37:31 +0000 (20:37 +0200)]
Fix compile if you don't have localtime_r (Win32 for ex)

11 years agoFix PortAudio warnings
Jean-Baptiste Kempf [Thu, 20 Aug 2009 15:52:00 +0000 (17:52 +0200)]
Fix PortAudio warnings

11 years agovlc_bits: Differentiate between writable bits stream and read only.
Pierre d'Herbemont [Thu, 20 Aug 2009 18:32:05 +0000 (20:32 +0200)]
vlc_bits: Differentiate between writable bits stream and read only.

This fixes some const qualifier violation in modules.

11 years agosmb: Flag unused params.
Pierre d'Herbemont [Thu, 20 Aug 2009 17:57:33 +0000 (19:57 +0200)]
smb: Flag unused params.

11 years agodvb: Flag unused callback parameter.
Pierre d'Herbemont [Thu, 20 Aug 2009 17:45:39 +0000 (19:45 +0200)]
dvb: Flag unused callback parameter.

11 years agoauhal: Use a litteral for the format.
Pierre d'Herbemont [Thu, 20 Aug 2009 17:27:29 +0000 (19:27 +0200)]
auhal: Use a litteral for the format.

11 years agoFix flawed logic
Rémi Denis-Courmont [Thu, 20 Aug 2009 17:27:35 +0000 (20:27 +0300)]
Fix flawed logic

11 years agodvb: Blindly flag unused args.
Pierre d'Herbemont [Thu, 20 Aug 2009 17:26:36 +0000 (19:26 +0200)]
dvb: Blindly flag unused args.

11 years agolibvlc: Put vlc_usage in the same file than where it is used.
Pierre d'Herbemont [Thu, 20 Aug 2009 17:06:58 +0000 (19:06 +0200)]
libvlc: Put vlc_usage in the same file than where it is used.

11 years agoRevert "configure: Add an other bunch of Werror=."
Pierre d'Herbemont [Thu, 20 Aug 2009 17:05:59 +0000 (19:05 +0200)]
Revert "configure: Add an other bunch of Werror=."

This was a bit too early.

This reverts commit b827afa26d5085d0dc013620cf3ded1d5d6dbafd.

Conflicts:

configure.ac

11 years agovcdx: No need to cast. Kill a warning.
Pierre d'Herbemont [Thu, 20 Aug 2009 17:01:13 +0000 (19:01 +0200)]
vcdx: No need to cast. Kill a warning.

11 years agortsp: Feed a litteral to the format to kill a warning.
Pierre d'Herbemont [Thu, 20 Aug 2009 16:58:22 +0000 (18:58 +0200)]
rtsp: Feed a litteral to the format to kill a warning.

11 years agoRevert "network: Remove an unused label."
Pierre d'Herbemont [Thu, 20 Aug 2009 16:48:45 +0000 (18:48 +0200)]
Revert "network: Remove an unused label."

This reverts commit 663411401 and correctly undefine out: if needed.

11 years agoosd: Fix a unused variable warning.
Pierre d'Herbemont [Thu, 20 Aug 2009 16:33:48 +0000 (18:33 +0200)]
osd: Fix a unused variable warning.

Reported by Hugo Beauzée-Luyssen.

11 years agoconfigure: Add an other bunch of Werror=.
Pierre d'Herbemont [Thu, 20 Aug 2009 16:26:58 +0000 (18:26 +0200)]
configure: Add an other bunch of Werror=.

11 years agomotion: We really want an assignation here. Put parenthesis. (Kill a warning).
Pierre d'Herbemont [Thu, 20 Aug 2009 16:19:09 +0000 (18:19 +0200)]
motion: We really want an assignation here. Put parenthesis. (Kill a warning).

11 years agovcdx: Use %zu in format for size_t. (Kill a warning).
Pierre d'Herbemont [Thu, 20 Aug 2009 16:15:42 +0000 (18:15 +0200)]
vcdx: Use %zu in format for size_t. (Kill a warning).

11 years agocdda: Avoid a macro and kill a warning.
Pierre d'Herbemont [Thu, 20 Aug 2009 16:10:14 +0000 (18:10 +0200)]
cdda: Avoid a macro and kill a warning.

11 years agortsp: Mark some function as static.
Pierre d'Herbemont [Thu, 20 Aug 2009 15:10:20 +0000 (17:10 +0200)]
rtsp: Mark some function as static.

11 years agonetwork: Remove an unused label.
Pierre d'Herbemont [Thu, 20 Aug 2009 15:08:22 +0000 (17:08 +0200)]
network: Remove an unused label.

11 years agoconfigure: don't enable goom on OS X by default
Felix Paul Kühne [Thu, 20 Aug 2009 15:34:38 +0000 (17:34 +0200)]
configure: don't enable goom on OS X by default

11 years agoNEWS: Removal of modules
Jean-Baptiste Kempf [Thu, 20 Aug 2009 15:34:43 +0000 (17:34 +0200)]
NEWS: Removal of modules

11 years agoconfigure: Treat unused param or value as error when building with --enable-debug.
Pierre d'Herbemont [Thu, 20 Aug 2009 14:39:33 +0000 (16:39 +0200)]
configure: Treat unused param or value as error when building with --enable-debug.

Warnings that are 'safe' to be treated as error should be added here as well.

I hope this will raise VLC code quality, and tend to lower the hudge number of warnings. Some of them are sometimes letal but hidden by others.

11 years agoshout: Flag unused param.
Pierre d'Herbemont [Thu, 20 Aug 2009 14:38:06 +0000 (16:38 +0200)]
shout: Flag unused param.

11 years agowall: Remove unused variable and flag unused param.
Pierre d'Herbemont [Thu, 20 Aug 2009 14:36:53 +0000 (16:36 +0200)]
wall: Remove unused variable and flag unused param.

11 years agomosaic: Remove unused function.
Pierre d'Herbemont [Thu, 20 Aug 2009 14:35:41 +0000 (16:35 +0200)]
mosaic: Remove unused function.

11 years agologger: Flag unused param.
Pierre d'Herbemont [Thu, 20 Aug 2009 14:30:23 +0000 (16:30 +0200)]
logger: Flag unused param.

11 years agoquartztext: Silence warning that are not our business in ColorSync headers.
Pierre d'Herbemont [Thu, 20 Aug 2009 14:29:37 +0000 (16:29 +0200)]
quartztext: Silence warning that are not our business in ColorSync headers.

11 years agofreetype: Flag an unused param.
Pierre d'Herbemont [Thu, 20 Aug 2009 14:28:11 +0000 (16:28 +0200)]
freetype: Flag an unused param.

11 years agomemcpy: Flag an unused param.
Pierre d'Herbemont [Thu, 20 Aug 2009 14:26:59 +0000 (16:26 +0200)]
memcpy: Flag an unused param.

11 years agots: Kill some warnings.
Pierre d'Herbemont [Thu, 20 Aug 2009 14:24:27 +0000 (16:24 +0200)]
ts: Kill some warnings.

11 years agorc: Flag unused params.
Pierre d'Herbemont [Thu, 20 Aug 2009 14:18:31 +0000 (16:18 +0200)]
rc: Flag unused params.

11 years agohttp: Flag unused args.
Pierre d'Herbemont [Thu, 20 Aug 2009 14:18:08 +0000 (16:18 +0200)]
http: Flag unused args.

11 years agoscreen: Silence warning that are not our business in ColorSync headers.
Pierre d'Herbemont [Thu, 20 Aug 2009 14:15:55 +0000 (16:15 +0200)]
screen: Silence warning that are not our business in ColorSync headers.

11 years agortsp: Remove unused variable.
Pierre d'Herbemont [Thu, 20 Aug 2009 13:57:36 +0000 (15:57 +0200)]
rtsp: Remove unused variable.

11 years agortsp: Flag unused parameters.
Pierre d'Herbemont [Thu, 20 Aug 2009 13:56:25 +0000 (15:56 +0200)]
rtsp: Flag unused parameters.

11 years agovideo_output: Flag unused parameter.
Pierre d'Herbemont [Thu, 20 Aug 2009 13:54:41 +0000 (15:54 +0200)]
video_output: Flag unused parameter.

11 years agoconfig: Flag unused params.
Pierre d'Herbemont [Thu, 20 Aug 2009 13:21:36 +0000 (15:21 +0200)]
config: Flag unused params.

11 years agomodules: Fix an unused arg if NLS is not enabled.
Pierre d'Herbemont [Thu, 20 Aug 2009 13:20:22 +0000 (15:20 +0200)]
modules: Fix an unused arg if NLS is not enabled.

11 years agonetwork: Remove an unused variable in udp.
Pierre d'Herbemont [Thu, 20 Aug 2009 13:08:10 +0000 (15:08 +0200)]
network: Remove an unused variable in udp.

11 years agoqt4 playlist: don't rebuild on move (finally!) + refresh current item on sort
Jakob Leben [Thu, 20 Aug 2009 12:53:51 +0000 (14:53 +0200)]
qt4 playlist: don't rebuild on move (finally!) + refresh current item on sort

When using tree playlist mode and moving items within sub-nodes, the nodes
will now stay open.

11 years agotranscode: Flag unused parameters.
Pierre d'Herbemont [Thu, 20 Aug 2009 11:00:15 +0000 (13:00 +0200)]
transcode: Flag unused parameters.

11 years agoaic_bridge: Flag an unused parameter.
Pierre d'Herbemont [Thu, 20 Aug 2009 10:58:44 +0000 (12:58 +0200)]
aic_bridge: Flag an unused parameter.

11 years agortp: Remove an unused variable.
Pierre d'Herbemont [Thu, 20 Aug 2009 10:57:46 +0000 (12:57 +0200)]
rtp: Remove an unused variable.

11 years agompeg: Flag unused arguments.
Pierre d'Herbemont [Thu, 20 Aug 2009 10:56:22 +0000 (12:56 +0200)]
mpeg: Flag unused arguments.

11 years agomod: Fix an other bad cast from function call.
Pierre d'Herbemont [Thu, 20 Aug 2009 10:24:50 +0000 (12:24 +0200)]
mod: Fix an other bad cast from function call.

11 years agopodcast: Kill a warning.
Pierre d'Herbemont [Thu, 20 Aug 2009 10:23:25 +0000 (12:23 +0200)]
podcast: Kill a warning.

11 years agoavi: Fix a warning about bad function type cast.
Pierre d'Herbemont [Thu, 20 Aug 2009 10:22:00 +0000 (12:22 +0200)]
avi: Fix a warning about bad function type cast.

11 years agodts: Initialize i_frame_size to a default value.
Pierre d'Herbemont [Thu, 20 Aug 2009 10:11:29 +0000 (12:11 +0200)]
dts: Initialize i_frame_size to a default value.

11 years agoes: RGB masks needs to be uint32_t.
Pierre d'Herbemont [Thu, 20 Aug 2009 10:04:54 +0000 (12:04 +0200)]
es: RGB masks needs to be uint32_t.

11 years agocdda: Fix a bunch of arg warnings.
Pierre d'Herbemont [Thu, 20 Aug 2009 10:04:12 +0000 (12:04 +0200)]
cdda: Fix a bunch of arg warnings.

11 years agolibvlc: Fix some unused arg warning in vlm and playlist.
Pierre d'Herbemont [Thu, 20 Aug 2009 10:01:12 +0000 (12:01 +0200)]
libvlc: Fix some unused arg warning in vlm and playlist.

11 years agovlm: More unused parameter warning fix.
Pierre d'Herbemont [Thu, 20 Aug 2009 09:59:48 +0000 (11:59 +0200)]
vlm: More unused parameter warning fix.

11 years agovideo_output: Flag even more parameter as unused.
Pierre d'Herbemont [Thu, 20 Aug 2009 09:58:41 +0000 (11:58 +0200)]
video_output: Flag even more parameter as unused.

11 years agovideo_output: Flag a number of parameter as unused.
Pierre d'Herbemont [Thu, 20 Aug 2009 09:57:15 +0000 (11:57 +0200)]
video_output: Flag a number of parameter as unused.

11 years agoinput: Remove unused variable.
Pierre d'Herbemont [Thu, 20 Aug 2009 09:55:18 +0000 (11:55 +0200)]
input: Remove unused variable.

11 years agoplaylist: Fix a warning about sign.
Pierre d'Herbemont [Thu, 20 Aug 2009 09:54:23 +0000 (11:54 +0200)]
playlist: Fix a warning about sign.

11 years agoi420: Flag a parameter as unused.
Pierre d'Herbemont [Thu, 20 Aug 2009 09:48:17 +0000 (11:48 +0200)]
i420: Flag a parameter as unused.

11 years agomlp: Fix a bunch of warnings.
Pierre d'Herbemont [Thu, 20 Aug 2009 09:42:07 +0000 (11:42 +0200)]
mlp: Fix a bunch of warnings.

11 years agovc1: Correct unsigned use.
Pierre d'Herbemont [Thu, 20 Aug 2009 09:38:51 +0000 (11:38 +0200)]
vc1: Correct unsigned use.

11 years agoquartztext: Fix a few unsigned usage.
Pierre d'Herbemont [Thu, 20 Aug 2009 09:37:05 +0000 (11:37 +0200)]
quartztext: Fix a few unsigned usage.

11 years agocmml: Fix a warning about vlc_create_thread() return value not checked.
Pierre d'Herbemont [Thu, 20 Aug 2009 09:26:02 +0000 (11:26 +0200)]
cmml: Fix a warning about vlc_create_thread() return value not checked.

11 years agospdif: Use aout_FifoPop() which checks locking and fix a aout_FifoPop() leak.
Pierre d'Herbemont [Thu, 20 Aug 2009 09:11:51 +0000 (11:11 +0200)]
spdif: Use aout_FifoPop() which checks locking and fix a aout_FifoPop() leak.

Pointed-out-by a warning.

11 years agohttp: Remove unused functions.
Pierre d'Herbemont [Thu, 20 Aug 2009 09:05:45 +0000 (11:05 +0200)]
http: Remove unused functions.

11 years agofile: Fix a warning when posix_fadvise() isn't defined.
Pierre d'Herbemont [Thu, 20 Aug 2009 09:03:36 +0000 (11:03 +0200)]
file: Fix a warning when posix_fadvise() isn't defined.

11 years agovcd: Flag unused argument, and fix a pointer to number comparison to kill warnings.
Pierre d'Herbemont [Thu, 20 Aug 2009 09:00:16 +0000 (11:00 +0200)]
vcd: Flag unused argument, and fix a pointer to number comparison to kill warnings.

11 years agoMisc fixes in goom, freetype and warning in last.fm
Jean-Baptiste Kempf [Thu, 20 Aug 2009 09:23:31 +0000 (11:23 +0200)]
Misc fixes in goom, freetype and warning in last.fm

11 years agoContrib: more complete patch against FLAC, made by Jonathan Yong
Jean-Baptiste Kempf [Thu, 20 Aug 2009 08:56:19 +0000 (10:56 +0200)]
Contrib: more complete patch against FLAC, made by Jonathan Yong

11 years agoFix misc warnings in demuxers
Jean-Baptiste Kempf [Thu, 20 Aug 2009 08:52:48 +0000 (10:52 +0200)]
Fix misc warnings in demuxers

11 years agoKill misc warnings
Jean-Baptiste Kempf [Thu, 20 Aug 2009 08:43:16 +0000 (10:43 +0200)]
Kill misc warnings

11 years agoKill warnings of unused variables in audio_*
Jean-Baptiste Kempf [Thu, 20 Aug 2009 08:42:36 +0000 (10:42 +0200)]
Kill warnings of unused variables in audio_*

11 years agoMod: use unsigned when needed
Jean-Baptiste Kempf [Thu, 20 Aug 2009 08:42:08 +0000 (10:42 +0200)]
Mod: use unsigned when needed

11 years agoScreen-win32: Kill warnings
Jean-Baptiste Kempf [Thu, 20 Aug 2009 08:19:34 +0000 (10:19 +0200)]
Screen-win32: Kill warnings

"signed and unsigned type in conditional expression"

11 years agoqt4 playlist: fix crash at "vlc --no-media-library"
Jakob Leben [Thu, 20 Aug 2009 08:47:41 +0000 (10:47 +0200)]
qt4 playlist: fix crash at "vlc --no-media-library"

It's ugly, but it will do.

11 years agoWaveout: fix type warning and update copyright
Jean-Baptiste Kempf [Thu, 20 Aug 2009 08:11:00 +0000 (10:11 +0200)]
Waveout: fix type warning and update copyright

11 years agoMKV: Correct format for int64_t
Jean-Baptiste Kempf [Thu, 20 Aug 2009 07:57:23 +0000 (09:57 +0200)]
MKV: Correct format for int64_t

11 years agoWav: unused variable
Jean-Baptiste Kempf [Thu, 20 Aug 2009 07:43:41 +0000 (09:43 +0200)]
Wav: unused variable

11 years agoVobsub: Correct format for int64_t
Jean-Baptiste Kempf [Thu, 20 Aug 2009 07:43:21 +0000 (09:43 +0200)]
Vobsub: Correct format for int64_t

11 years agobump plugin ABI to 1.1.0a (avoid using 1.0 modules after [073c5a24])
Rafaël Carré [Thu, 20 Aug 2009 07:44:10 +0000 (09:44 +0200)]
bump plugin ABI to 1.1.0a (avoid using 1.0 modules after [073c5a24])

11 years agoOSX configure defaults: disable --update-check
Rafaël Carré [Thu, 20 Aug 2009 07:06:59 +0000 (09:06 +0200)]
OSX configure defaults: disable --update-check

11 years agoupdate_crypto.c : UPDATE_CHECK is defined (or not) in config.h
Rafaël Carré [Thu, 20 Aug 2009 07:04:46 +0000 (09:04 +0200)]
update_crypto.c : UPDATE_CHECK is defined (or not) in config.h

11 years agoDo not build update_crypto.c content if update-check is disabled
Rafaël Carré [Thu, 20 Aug 2009 06:55:14 +0000 (08:55 +0200)]
Do not build update_crypto.c content if update-check is disabled

11 years ago_update_WaitDownload is no longer in libvlccore
Rafaël Carré [Thu, 20 Aug 2009 06:37:20 +0000 (08:37 +0200)]
_update_WaitDownload is no longer in libvlccore

11 years agoupdate_Delete: Fix update download thread destruction
Rafaël Carré [Thu, 20 Aug 2009 06:17:33 +0000 (08:17 +0200)]
update_Delete: Fix update download thread destruction

11 years agoRevert "update: allow update_Download to accept: directory, filename, NULL"
Rafaël Carré [Thu, 20 Aug 2009 06:08:24 +0000 (08:08 +0200)]
Revert "update: allow update_Download  to accept: directory, filename, NULL"

This reverts commit 0f245d7bdd245fb84181d8911d72bbc62f099844.

Conflicts:

src/misc/update.c

11 years agoRevert "update: rename the variables so that it matches their current purpose"
Rafaël Carré [Thu, 20 Aug 2009 06:06:20 +0000 (08:06 +0200)]
Revert "update: rename the variables so that it matches their current purpose"

This reverts commit ebfd94553ab7b18a436a14f42453cc3302caf471.

11 years agoRevert "update: don't free the temp pointer, but free the original instead."
Rafaël Carré [Thu, 20 Aug 2009 06:06:12 +0000 (08:06 +0200)]
Revert "update: don't free the temp pointer, but free the original instead."

This reverts commit 97f83156a37514f9f6bb8786507e35118553f947.

11 years agoUpdate mechanism: split update.c
Rafaël Carré [Thu, 20 Aug 2009 06:01:23 +0000 (08:01 +0200)]
Update mechanism: split update.c

Move cryptography specific functions into their own file, together with
functions downloading public key / signatures
Factorize common code for generating signatures (hash_sha1_from_*)
Remove unused update_WaitDownload (was OSX specific)

11 years agomedia_list_player: Make sure we'll correctly play next item, instead of setting the...
Pierre d'Herbemont [Wed, 19 Aug 2009 23:02:56 +0000 (01:02 +0200)]
media_list_player: Make sure we'll correctly play next item, instead of setting the item but not playing it.

Add a test for correct item queuing as well.

11 years agoWin7: add support for the taskbar's "oh, look, it's shiny" buttons. We need prettier...
Geoffroy Couprie [Wed, 19 Aug 2009 22:05:17 +0000 (00:05 +0200)]
Win7: add support for the taskbar's "oh, look, it's shiny" buttons. We need prettier buttons, and in some cases, the play/pause button's picture isn't updated.

11 years agoMove the additional headers to include/vlc_windows_interfaces.h
Geoffroy Couprie [Wed, 19 Aug 2009 21:20:23 +0000 (23:20 +0200)]
Move the additional headers to include/vlc_windows_interfaces.h

11 years agowince: if you want to mess with the code, at least mess with the header accordingly
Geoffroy Couprie [Fri, 14 Aug 2009 15:43:45 +0000 (17:43 +0200)]
wince: if you want to mess with the code, at least mess with the header accordingly