Re: Trying to hack on lame.c
Alexander Leidinger <[email protected]>
| Newsgroups | gmane.comp.audio.mp3.lame |
|---|---|
| Message-ID | <[email protected]> |
On Sun, 22 Jun 2014 17:22:14 +0800 Jake Sebastian-Jones <[email protected]> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > > Hi Alex, > > Sorry to bother you, I'm trying to find out where I can ask questions > about the LAME source. You looked like you could answer my question. [email protected] would be the best place, as there are more people listening. > I have downloaded and built LAME, and linked the resultant > libmp3lame.so against a trivial test harness. > > I wanted to hack around with the lame source so I tried printing Hello > World at the start of lame_init() in lame.c. After rebuilding the so > and my harness there was no difference. > > I then tried just returning NULL from lame_init.. again nothing was > changed. Dereferencing NULL at the start also didn't break anything. > > So how is LAME managing to build a working lib when I try to break > lame_init like that? You may build it, but are you sure you are also using what you have build? If you are on a unix-like OS type "ldd ./your/compiled/test/program" to see which library it uses. It may use the shared library which is installed in the system instead the one you have build. > nb. syntax errors cause the build to fail so I'm definitely modifying > the correct files (I guess) > > Thanks so much / sorry to bother you. > > Jake Bye, Alexander. -- http://www.Leidinger.net [email protected]: PGP 0xC773696B3BAC17DC http://www.FreeBSD.org [email protected] : PGP 0xC773696B3BAC17DC ------------------------------------------------------------------------------ HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions Find What Matters Most in Your Big Data with HPCC Systems Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. Leverages Graph Analysis for Fast Processing & Easy Data Exploration http://p.sf.net/sfu/hpccsystems