Fix configure and CRC.

sdt
Kieran Kunhya 2010-11-13 22:26:36 +00:00
rodzic c73695dfe6
commit 719eb0fd4e
2 zmienionych plików z 3 dodań i 1 usunięć

2
configure vendored
Wyświetl plik

@ -390,7 +390,7 @@ DEVNULL=$DEVNULL
EOF
if [ "$shared" = "yes" ]; then
API=$(grep '#define API_VERSION_MAJOR' < libmpegts.h | cut -f 3 -d ' ')
API=$(grep '#define LIBMPEGTS_API_VERSION_MAJOR' < libmpegts.h | cut -f 3 -d ' ')
if [ "$SYS" = "MINGW" ]; then
echo "SONAME=libmpegts-$API.dll" >> config.mak
echo 'IMPLIBNAME=libmpegts.dll.a' >> config.mak

Wyświetl plik

@ -18,6 +18,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111, USA.
*****************************************************************************/
#include "../common.h"
static const uint32_t crc_table[256] =
{
0x00000000, 0x04C11DB7, 0x09823B6E, 0x0D4326D9,