sigmunau at stud.ntnu.no
Tue Apr 30 12:58:13 CEST 2002
On Tue, Apr 30, 2002 at 09:56:59AM +0200, Gildas Bazin wrote:
> On Tue, 30 Apr 2002 Sigmund Augdal wrote:
> >I seems like config_PutFloatVariable segfaults regardless of input.
> >Just test by changing the zoom-value in the interface, and press Use or Apply
> >or Ok.
> Hmmm, could you do another test to track the problem ?
> Could you try not using the GUI but the command line interface instead: vlc --zoom=0.5 and see if it still crashes.
> I will have a look this evening when I get back from work.
It works fine, I belive the reason may be that config_PutFloatVariable is never
set in p_symbols.
> >btw, is there a reason why intf_WarnMsg takes "char *" and not "const char *" ?
> Some people just don't like using the const keyword so it might be the reason why. But personnaly I would also prefer using it (apart from making clear in the API that the string isn't modified, it can sometimes allow the compiler to optimize more agressively).
At least in c++ you can give a function taking const char * a char *, but you
can not easyly give a function taking char * a const char *. And some access
methods in the qt-classes returns const char *
> NetCourrier, votre bureau virtuel sur Internet : Mail, Agenda, Clubs, Toolbar...
> Web/Wap : www.netcourrier.com
> Téléphone/Fax : 08 92 69 00 21 (0,34 TTC/min)
> Minitel: 3615 NETCOURRIER (0,15 TTC/min)
> This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
> To unsubscribe, please read http://www.videolan.org/lists.html
> If you are in trouble, please contact <postmaster at videolan.org>
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>
More information about the vlc-devel