# Lame\_enc64.dll crash

**URL:** <https://qa.fmod.com/t/lame-enc64-dll-crash/19492>\
**Category:** FMOD Engine\
**Created:** [November 9, 2022, 7:00am UTC](https://qa.fmod.com/t/lame-enc64-dll-crash/19492 "2022-11-09T07:00:39Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![tristanlewis](https://avatars.discourse-cdn.com/v4/letter/t/c6cbf5/32.png) [@tristanlewis](https://qa.fmod.com/u/tristanlewis)\
**Post date:** [November 9, 2022, 7:00am UTC](https://qa.fmod.com/t/lame-enc64-dll-crash/19492/1 "2022-11-09T07:00:39Z")

</div>

Hi, getting a crash using the lame\_enc64.dll when calling beEncodeChunk. The issue does not happen with the 32bit version of the dll.

Looking at the header (BladeMP3EncDLL.h), I suspect that the issue is:

```auto
typedef unsigned long HBE_STREAM;

```

If the HBE\_STREAM is meant to be of pointer size - it should be size\_t or uintptr\_t.

Thanks

---

<div class="post-metadata">

**Author:** ![tristanlewis](https://avatars.discourse-cdn.com/v4/letter/t/c6cbf5/32.png) [@tristanlewis](https://qa.fmod.com/u/tristanlewis)\
**Post date:** [November 10, 2022, 1:05am UTC](https://qa.fmod.com/t/lame-enc64-dll-crash/19492/2 "2022-11-10T01:05:11Z")

</div>

Actually looks like it was fixed here:

> <https://github.com/ShiftMediaProject/lame/commit/2111f3353247bf9b9a2bf6bce34bba2f403eed4b>

---

<div class="post-metadata">

**Author:** ![mathew](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/mathew/32/431_2.png) [@mathew](https://qa.fmod.com/u/mathew)\
**Post date:** [November 11, 2022, 3:59am UTC](https://qa.fmod.com/t/lame-enc64-dll-crash/19492/3 "2022-11-11T03:59:04Z")

</div>

Hey Tristan,

Is this for the Windows MP3 export output plugin?  
If so, it sounds like we might need to rebuild the encoder from latest with fixes.

---

<div class="post-metadata">

**Author:** ![tristanjl](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/tristanjl/32/261_2.png) [@tristanjl](https://qa.fmod.com/u/tristanjl)\
**Post date:** [November 11, 2022, 7:24am UTC](https://qa.fmod.com/t/lame-enc64-dll-crash/19492/4 "2022-11-11T07:24:23Z")

</div>

Yeah, that’s right. Yeah, rebuild from latest with fixes should do the trick.

---

<div class="post-metadata">

**Author:** ![mathew](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/mathew/32/431_2.png) [@mathew](https://qa.fmod.com/u/mathew)\
**Post date:** [November 13, 2022, 11:49pm UTC](https://qa.fmod.com/t/lame-enc64-dll-crash/19492/5 "2022-11-13T23:49:13Z")

</div>

That indeed worked, new libs and the header change are scheduled for the next release.
