When trying to convert a DTS audio track to AC3 with the dcadec utility (part of libdca) I get the following error: "Value too large for defined data type - could not open file xxxxxxxxxxx" After adding the following CFLAGS to make.conf and re-emerging libdca, the dcadec application works correctly: CFLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE" Reproducible: Always Steps to Reproduce: 1. Get a large DTS file to be converted to AC3 (> 2GB) 2. Run the command "dcadec -c -o wavall >/dev/null" 3. Actual Results: "Value too large for defined data type - could not open file largefile.dts" Expected Results: No errors found libdca should have large file support by default as the rest of the applications in the system.
appended largefile flags...