Just saw this today. I'm the maintainer of Speex (for some reason the
Speex project no longer appears on launchpad). I'll fix the problem in
Speex for the next release. In the mean time, I suggest simply doing the
following change instead:

-      op.packet = (unsigned char *)speex_header_to_packet(&header, 
(int*)&(op.bytes));
+      int bytes;
+      op.packet = (unsigned char *)speex_header_to_packet(&header, &bytes);
+      op.bytes = bytes;

It's much simpler and the Speex header size is guaranteed to fit in an
int (actually, it would even fit in a char), so no need to change
anything to size_t.

-- 
speexenc segfaults on amd64
https://launchpad.net/bugs/19482

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to