Large file support for libdca

Fabian Greffrath fabian at greffrath.com
Tue Aug 30 09:35:21 UTC 2011


Hello libdca developers,

I hope anyone is still listening?

Currently, a bug has been filed in the Debian Bug Tracker [1] about 
dcadec failing to decode large files. The problem only occurs with 
files larger than 2GB and only on i386 systems.

It was proposed to add
  CFLAGS += -D_FILE_OFFSET_BITS=64
to the environment and rebuild the package and this has reportedly 
fixed the issue.

Since DTS-encoded audio files larger than 2GB shouldn't be too 
uncommon, I'd like to see this issue fixed in the Debian package, but 
preferably also upstream. Do you think it is reasonable to add 
-D_FILE_OFFSET_BITS=64 to CFLAGS per default? Or is there any drawback 
that I couldn't see yet, e.g. ABI change or even worse?

That said, do you think it makes sense to fix the LFS issue discussed 
here in SVN and then do something crazy like a new release? ;)

  - Fabian


[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=639593



More information about the pkg-multimedia-maintainers mailing list