Re: Trying to hack on lame.c

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Re: Trying to hack on lame.c

Alexander Leidinger
On Sun, 22 Jun 2014 17:22:14 +0800
Jake Sebastian-Jones <[hidden email]> wrote:

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

[hidden email] would be the best place, as there are more people

> I have downloaded and built LAME, and linked the resultant
> 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

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


-- [hidden email]: PGP 0xC773696B3BAC17DC    [hidden email]  : 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
Lame-dev mailing list
[hidden email]