--- decoder.c 2005/09/13 12:12:15 1.73 +++ decoder.c 2005/11/22 10:23:01 1.75 @@ -20,7 +20,7 @@ * along with this program ; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id: decoder.c,v 1.73 2005/09/13 12:12:15 suxen_drol Exp $ + * $Id: decoder.c,v 1.75 2005/11/22 10:23:01 suxen_drol Exp $ * ****************************************************************************/ @@ -316,7 +316,7 @@ stop_iquant_timer(); start_timer(); - idct(&data[i * 64]); + idct((short * const)&data[i * 64]); stop_idct_timer(); } @@ -406,7 +406,7 @@ /* iDCT */ start_timer(); - idct(&data[0]); + idct((short * const)&data[0]); stop_idct_timer(); /* Add this residual to the predicted block */ @@ -1359,7 +1359,7 @@ MACROBLOCK *mb = &dec->mbs[y * dec->mb_width + x]; MACROBLOCK *last_mb = &dec->last_mbs[y * dec->mb_width + x]; const int fcode_max = (fcode_forward>fcode_backward) ? fcode_forward : fcode_backward; - uint32_t intra_dc_threshold; /* fake variable */ + int intra_dc_threshold; /* fake variable */ if (check_resync_marker(bs, fcode_max - 1)) { int bound = read_video_packet_header(bs, dec, fcode_max - 1, &quant, @@ -1485,7 +1485,7 @@ } /* perform post processing if necessary, and output the image */ -void decoder_output(DECODER * dec, IMAGE * img, MACROBLOCK * mbs, +static void decoder_output(DECODER * dec, IMAGE * img, MACROBLOCK * mbs, xvid_dec_frame_t * frame, xvid_dec_stats_t * stats, int coding_type, int quant) {