| 1 |
Descriptionscip-debian debian avifile 1:0.7.48~20090503.ds-32 avifile/patches/`gcc-14.patch`#Description.: Fix FTBFS for i386 |
| 2 |
It seems to me that this is caused by gcc-14. But the code only |
| 3 |
compiles on i386. |
| 4 |
Bug-Debianscip-debian debian avifile 1:0.7.48~20090503.ds-32 avifile/patches/`gcc-14.patch`#Bug-Debian.: http://bugs.debian.org/1078422scip-debian-bts debian-bts . . 1078422: |
| 5 |
Authorscip-debian debian avifile 1:0.7.48~20090503.ds-32 avifile/patches/`gcc-14.patch`#Author.: Ying-Chun Liu (PaulLiu) <[email protected]scip-debian . . . identity/`[email protected]`.> |
| 6 |
Index: avifile-0.7.48~20090503.ds/plugins/libwin32/loader/afl.cscip-debian debian avifile 1:0.7.48~20090503.ds-32 avifile/upstream/`avifile-0.7.48~20090503.ds/plugins/libwin32/loader/afl.c`: |
| 7 |
=================================================================== |
| 8 |
--- avifile-0.7.48~20090503.ds.orig/plugins/libwin32/loader/afl.cscip-debian debian avifile 1:0.7.48~20090503.ds-32 avifile/upstream/`avifile-0.7.48~20090503.ds.orig/plugins/libwin32/loader/afl.c`: |
| 9 |
+++ avifile-0.7.48~20090503.ds/plugins/libwin32/loader/afl.c |
| 10 |
@@ -223,7 +223,7 @@ MMRESULT WINAPI acmDriverOpen(PHACMDRIVE |
| 11 |
return MMSYSERR_ERROR; |
| 12 |
} |
| 13 |
|
| 14 |
|
| 15 |
+ pad->pfnDriverProc = (DRIVERPROC)GetProcAddress(pad->hDrvr, "DriverProc"); |
| 16 |
|
| 17 |
/* insert new pad at beg of list */ |
| 18 |
pad->pNextACMDriver = padid->pACMDriverList; |
| 19 |
Index: avifile-0.7.48~20090503.ds/plugins/libaudiodec/xa_gsm.cscip-debian debian avifile 1:0.7.48~20090503.ds-32 avifile/upstream/`avifile-0.7.48~20090503.ds/plugins/libaudiodec/xa_gsm.c`: |
| 20 |
=================================================================== |
| 21 |
--- avifile-0.7.48~20090503.ds.orig/plugins/libaudiodec/xa_gsm.cscip-debian debian avifile 1:0.7.48~20090503.ds-32 avifile/upstream/`avifile-0.7.48~20090503.ds.orig/plugins/libaudiodec/xa_gsm.c`: |
| 22 |
+++ avifile-0.7.48~20090503.ds/plugins/libaudiodec/xa_gsm.c |
| 23 |
@@ -24,9 +24,9 @@ improvements that may be of general inte |
| 24 |
#include <assert.h> /* POD optional */ |
| 25 |
#include "xa_gsm.h" |
| 26 |
|
| 27 |
|
| 28 |
|
| 29 |
|
| 30 |
+void XA_MSGSM_Decoder(XA_GSM_STATE *, unsigned char *, word *, ulongword *, ulongword *); |
| 31 |
+static void GSM_Decode(XA_GSM_STATE *, word *, word *, word *, word *, word *, word *, word *); |
| 32 |
+static void Gsm_RPE_Decoding(XA_GSM_STATE *, word, word, word *, word *); |
| 33 |
|
| 34 |
static short gsm_buf[320]; |
| 35 |
static XA_GSM_STATE gsm_state; |
| 36 |
@@ -118,7 +118,7 @@ unsigned long buff_size) |
| 37 |
return(ocnt); |
| 38 |
/* Quicktime and AVI used different formats */ |
| 39 |
// if (spec & 0x80) |
| 40 |
|
| 41 |
+ XA_MSGSM_Decoder(&gsm_state, ibuf, gsm_buf, (ulongword *) &icnt, (ulongword *) &out_cnt); |
| 42 |
// printf("Read %d bytes into decoder\n", icnt); |
| 43 |
// else |
| 44 |
// XA_GSM_Decoder(&gsm_state, ibuf, gsm_buf, &icnt, &out_cnt); |