vlc.git
12 years agoRevert "signals: Return NULL at SigThread end."
Rémi Denis-Courmont [Fri, 21 Aug 2009 05:58:18 +0000 (08:58 +0300)]
Revert "signals: Return NULL at SigThread end."

This reverts commit 3c55f6d8bed88ca5635446cbc8ee1e85547c0ac1.

This is dead code (which does generate a warning!!!)

12 years agoRevert "memcpy: Flag an unused param in memcpyaltivec."
Rémi Denis-Courmont [Fri, 21 Aug 2009 05:57:59 +0000 (08:57 +0300)]
Revert "memcpy: Flag an unused param in memcpyaltivec."

This reverts commit 3d82d569c4030a56bb25baffe8ebd0f303fc31c2.

12 years agoRevert "Win32: fix src/ compilation"
Rémi Denis-Courmont [Fri, 21 Aug 2009 05:57:47 +0000 (08:57 +0300)]
Revert "Win32: fix src/ compilation"

This reverts commit 908d0b9375dae740d9c703c0acb8bf93b7d1231a.

12 years agoopengl: Move includes at the begining.
Pierre d'Herbemont [Fri, 21 Aug 2009 01:08:13 +0000 (03:08 +0200)]
opengl: Move includes at the begining.

12 years agoopengl: Re-order #defines and fix a non defined token warning.
Pierre d'Herbemont [Fri, 21 Aug 2009 01:06:53 +0000 (03:06 +0200)]
opengl: Re-order #defines and fix a non defined token warning.

12 years agodemux playlist: Move the usage of vlc_object_find behind one function.
Pierre d'Herbemont [Fri, 21 Aug 2009 00:58:46 +0000 (02:58 +0200)]
demux playlist: Move the usage of vlc_object_find behind one function.

12 years agoloader: Remove unused variables.
Pierre d'Herbemont [Fri, 21 Aug 2009 00:28:45 +0000 (02:28 +0200)]
loader: Remove unused variables.

12 years agoconfigure: Add -Werror=bad-function-cast for --enable-warnings-as-error.
Pierre d'Herbemont [Fri, 21 Aug 2009 00:18:18 +0000 (02:18 +0200)]
configure: Add -Werror=bad-function-cast for --enable-warnings-as-error.

12 years agovisual: Fix bad function return value cast.
Pierre d'Herbemont [Fri, 21 Aug 2009 00:16:45 +0000 (02:16 +0200)]
visual: Fix bad function return value cast.

12 years agoquartztext: By pass hard ass headers.
Pierre d'Herbemont [Fri, 21 Aug 2009 00:13:27 +0000 (02:13 +0200)]
quartztext: By pass hard ass headers.

12 years agologo: Fix a misuse of a filter_NewBlend, that should make this plugin non working.
Pierre d'Herbemont [Fri, 21 Aug 2009 00:12:16 +0000 (02:12 +0200)]
logo: Fix a misuse of a filter_NewBlend, that should make this plugin non working.

Spotted by a warning.

12 years agomemcpy: Make fast_memcpy static.
Pierre d'Herbemont [Fri, 21 Aug 2009 00:05:40 +0000 (02:05 +0200)]
memcpy: Make fast_memcpy static.

12 years agoauhal: Don't include hard ass headers.
Pierre d'Herbemont [Fri, 21 Aug 2009 00:01:18 +0000 (02:01 +0200)]
auhal: Don't include hard ass headers.

12 years agodrms: Fix a pointer to int comparison.
Pierre d'Herbemont [Fri, 21 Aug 2009 00:00:53 +0000 (02:00 +0200)]
drms: Fix a pointer to int comparison.

12 years agohttp: Don't compare unsigned directly and factorize.
Pierre d'Herbemont [Thu, 20 Aug 2009 23:56:53 +0000 (01:56 +0200)]
http: Don't compare unsigned directly and factorize.

The playlist needs to be fixed here not to use signed for its size, but...

12 years agoscreen: By pass hard ass headers.
Pierre d'Herbemont [Thu, 20 Aug 2009 23:56:11 +0000 (01:56 +0200)]
screen: By pass hard ass headers.

12 years agops: Fix bad function return value cast.
Pierre d'Herbemont [Thu, 20 Aug 2009 23:31:21 +0000 (01:31 +0200)]
ps: Fix bad function return value cast.

12 years agopva: Bad function return value cast.
Pierre d'Herbemont [Thu, 20 Aug 2009 23:30:32 +0000 (01:30 +0200)]
pva: Bad function return value cast.

12 years agonuv: Fix some warnings and fix an issue where some unitialized pointer access could...
Pierre d'Herbemont [Thu, 20 Aug 2009 23:21:17 +0000 (01:21 +0200)]
nuv: Fix some warnings and fix an issue where some unitialized pointer access could lead to a crash.

12 years agonsv: Don't cast function return.
Pierre d'Herbemont [Thu, 20 Aug 2009 23:18:59 +0000 (01:18 +0200)]
nsv: Don't cast function return.

12 years agoavformat: Don't cast function return value.
Pierre d'Herbemont [Thu, 20 Aug 2009 23:11:54 +0000 (01:11 +0200)]
avformat: Don't cast function return value.

12 years agosignals: Return NULL at SigThread end.
Pierre d'Herbemont [Thu, 20 Aug 2009 23:09:52 +0000 (01:09 +0200)]
signals: Return NULL at SigThread end.

12 years agoflac: Fix a bad cast from function call warning.
Pierre d'Herbemont [Thu, 20 Aug 2009 23:04:32 +0000 (01:04 +0200)]
flac: Fix a bad cast from function call warning.

12 years agots: Fix some signess comparison issue.
Pierre d'Herbemont [Thu, 20 Aug 2009 22:46:44 +0000 (00:46 +0200)]
ts: Fix some signess comparison issue.

12 years agoogg: Fix some pointer sign comparison warning.
Pierre d'Herbemont [Thu, 20 Aug 2009 22:44:05 +0000 (00:44 +0200)]
ogg: Fix some pointer sign comparison warning.

12 years agolpcm: Fix a few unsigned comparison warnings.
Pierre d'Herbemont [Thu, 20 Aug 2009 22:39:44 +0000 (00:39 +0200)]
lpcm: Fix a few unsigned comparison warnings.

12 years agoNEWS
Jean-Baptiste Kempf [Thu, 20 Aug 2009 22:13:28 +0000 (00:13 +0200)]
NEWS

12 years agodynamicoverlay: We need a commanddesc_static_t for non strdup()-ed initializer.
Pierre d'Herbemont [Thu, 20 Aug 2009 22:07:11 +0000 (00:07 +0200)]
dynamicoverlay: We need a commanddesc_static_t for non strdup()-ed initializer.

12 years agodynamicoverlay: psz_command shouldn't be const.
Pierre d'Herbemont [Thu, 20 Aug 2009 21:57:46 +0000 (23:57 +0200)]
dynamicoverlay: psz_command shouldn't be const.

12 years agoreal: Fix unsigned issues, and fix an overflow that could happen in release build.
Pierre d'Herbemont [Thu, 20 Aug 2009 21:47:53 +0000 (23:47 +0200)]
real: Fix unsigned issues, and fix an overflow that could happen in release build.

12 years agovout_pictures: Use unsigned for width and height in picture_Export.
Pierre d'Herbemont [Thu, 20 Aug 2009 21:33:36 +0000 (23:33 +0200)]
vout_pictures: Use unsigned for width and height in picture_Export.

12 years agocaca: Fix a warning about unsigned.
Pierre d'Herbemont [Thu, 20 Aug 2009 21:20:13 +0000 (23:20 +0200)]
caca: Fix a warning about unsigned.

12 years agovlc_vout_display: Should use unsigned for height and width.
Pierre d'Herbemont [Thu, 20 Aug 2009 21:14:11 +0000 (23:14 +0200)]
vlc_vout_display: Should use unsigned for height and width.

12 years agoFix directory compilation on Win32
Jean-Baptiste Kempf [Thu, 20 Aug 2009 21:19:41 +0000 (23:19 +0200)]
Fix directory compilation on Win32

12 years agoFix unused warning on drawable.c
Jean-Baptiste Kempf [Thu, 20 Aug 2009 21:19:18 +0000 (23:19 +0200)]
Fix unused warning on drawable.c

12 years agoUNUSED for Wingdi
Jean-Baptiste Kempf [Thu, 20 Aug 2009 21:18:12 +0000 (23:18 +0200)]
UNUSED for Wingdi

12 years agoUNUSED for direct3d
Jean-Baptiste Kempf [Thu, 20 Aug 2009 21:16:52 +0000 (23:16 +0200)]
UNUSED for direct3d

12 years agoUNUSED for directx vout
Jean-Baptiste Kempf [Thu, 20 Aug 2009 21:16:39 +0000 (23:16 +0200)]
UNUSED for directx vout

12 years agomemcpy: Flag an unused param in memcpyaltivec.
Pierre d'Herbemont [Thu, 20 Aug 2009 21:05:06 +0000 (23:05 +0200)]
memcpy: Flag an unused param in memcpyaltivec.

12 years agoconfigure: Add "missing-braces nonnull parentheses uninitialized address enum-compare...
Pierre d'Herbemont [Thu, 20 Aug 2009 20:36:54 +0000 (22:36 +0200)]
configure: Add "missing-braces nonnull parentheses uninitialized address enum-compare undef comment switch" to the list of warnings that should not appear anymore in source code.

12 years agoWin32: fix src/ compilation
Jean-Baptiste Kempf [Thu, 20 Aug 2009 21:00:56 +0000 (23:00 +0200)]
Win32: fix src/ compilation

12 years agovlc_fixups: Dummy definition for LC_NUMERIC_MASK.
Pierre d'Herbemont [Thu, 20 Aug 2009 20:34:47 +0000 (22:34 +0200)]
vlc_fixups: Dummy definition for LC_NUMERIC_MASK.

12 years agovlc_fixups: Continue to poke around to fix win32 build.
Pierre d'Herbemont [Thu, 20 Aug 2009 20:26:11 +0000 (22:26 +0200)]
vlc_fixups: Continue to poke around to fix win32 build.

12 years agovlc_fixups: Use (void) instead of VLC_UNUSED which is not available.
Pierre d'Herbemont [Thu, 20 Aug 2009 20:17:42 +0000 (22:17 +0200)]
vlc_fixups: Use (void) instead of VLC_UNUSED which is not available.

12 years agovlc_fixups: Better dummy implementation for type checking, and unused checks.
Pierre d'Herbemont [Thu, 20 Aug 2009 20:06:25 +0000 (22:06 +0200)]
vlc_fixups: Better dummy implementation for type checking, and unused checks.

12 years agotest: Remove an unused variable in variables.c.
Pierre d'Herbemont [Thu, 20 Aug 2009 20:01:48 +0000 (22:01 +0200)]
test: Remove an unused variable in variables.c.

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

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

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

12 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

12 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>
12 years agoQuicktime: fix warning
Jean-Baptiste Kempf [Thu, 20 Aug 2009 19:02:54 +0000 (21:02 +0200)]
Quicktime: fix warning

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

12 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.

12 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)

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

12 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.

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

12 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.

12 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.

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

12 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.

12 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.

12 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

12 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.

12 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.

12 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.

12 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.

12 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=.

12 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).

12 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).

12 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.

12 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.

12 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.

12 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

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

12 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.

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

12 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.

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

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

12 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.

12 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.

12 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.

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

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

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

12 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.

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

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

12 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.

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

12 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.

12 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.

12 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.

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

12 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.

12 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.

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

12 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.