Application crash when call libvlc_new

This forum is about all development around libVLC.
Magicc
New Cone
New Cone
Posts: 5
Joined: 20 May 2014 03:35

Application crash when call libvlc_new

Postby Magicc » 30 Jun 2014 05:16

When I call function libvlc_new, and the program down.

The mode is release. I use VS2010 to compile the program, OS is windows7. I get dll and lib files from vlc for windows 2.1.3.

The problem appear just under release mode. When I use debug mode it is OK.

How can I solve this problem? Should I rebuild vlc myselve?

Thanks.

RSATom
Big Cone-huna
Big Cone-huna
Posts: 513
Joined: 24 Nov 2011 06:55
Operating System: Windows/Linux/OsX
Location: Russia, Tomsk

Re: Application crash when call libvlc_new

Postby RSATom » 30 Jun 2014 05:19


Magicc
New Cone
New Cone
Posts: 5
Joined: 20 May 2014 03:35

Re: Application crash when call libvlc_new

Postby Magicc » 30 Jun 2014 05:33

Thank you very much. It works well now.

But why is that, the lib in the install packet is debug mode?

RSATom
Big Cone-huna
Big Cone-huna
Posts: 513
Joined: 24 Nov 2011 06:55
Operating System: Windows/Linux/OsX
Location: Russia, Tomsk

Re: Application crash when call libvlc_new

Postby RSATom » 30 Jun 2014 05:39

no, it's just broken.

it's conflicts with optimization in release

Magicc
New Cone
New Cone
Posts: 5
Joined: 20 May 2014 03:35

Re: Application crash when call libvlc_new

Postby Magicc » 30 Jun 2014 08:57

Thank you for your answer. It helps a lot. :D


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 25 guests