Package: mplayer
Version: 1.0~rc2-1
Severity: important
Tags: patch
Usertags: implicit-pointer-conversion

Our automated buildd log filter[1] detected a problem that is likely to
cause your package to segfault on architectures where the size of a
pointer is greater than the size of an integer, such as ia64 and amd64.

This is often due to a missing function prototype definition.
For more information, see [2].

[1] http://people.debian.org/~dannf/check-implicit-pointer-functions
[2] http://wiki.debian.org/ImplicitPointerConversions

----- Forwarded message from Build Daemon <[EMAIL PROTECTED]> -----

X-Spam-Checker-Version: SpamAssassin 3.1.7-deb (2006-10-05) on ldl.fc.hp.com
X-Spam-Level: *
X-Spam-Status: No, score=1.3 required=3.5 tests=AWL,FUZZY_XPILL,UNDISC_RECIPS 
        autolearn=disabled version=3.1.7-deb
X-Virus-Scanned: Debian amavisd-new at ldl.fc.hp.com
Subject: Log for successful build of mplayer_1.0~rc2-1 (dist=unstable)
Date: Thu, 18 Oct 2007 20:59:32 +0000 (GMT)
From: Build Daemon <[EMAIL PROTECTED]>
To: undisclosed-recipients: ;
X-PMX-Version: 5.3.1.294258, Antispam-Engine: 2.5.1.298604, Antispam-Data: 
2007.10.18.133937
Debian-Buildd-Error: Yes

Function `_vorbis_block_alloc' implicitly converted to pointer at floor0.c:395
Function `_vorbis_block_alloc' implicitly converted to pointer at floor1.c:320
Function `_vorbis_block_alloc' implicitly converted to pointer at res012.c:196
Function `_vorbis_block_alloc' implicitly converted to pointer at synthesis.c:67

----- End forwarded message -----

-- 
dann frazier

diff -urpN mplayer-1.0~rc2.orig/tremor/block.h mplayer-1.0~rc2/tremor/block.h
--- mplayer-1.0~rc2.orig/tremor/block.h	1969-12-31 17:00:00.000000000 -0700
+++ mplayer-1.0~rc2/tremor/block.h	2007-10-19 09:15:16.000000000 -0600
@@ -0,0 +1,23 @@
+/********************************************************************
+ *                                                                  *
+ * THIS FILE IS PART OF THE OggVorbis 'TREMOR' CODEC SOURCE CODE.   *
+ *                                                                  *
+ * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS     *
+ * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
+ * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING.       *
+ *                                                                  *
+ * THE OggVorbis 'TREMOR' SOURCE CODE IS (C) COPYRIGHT 1994-2002    *
+ * BY THE Xiph.Org FOUNDATION http://www.xiph.org/                  *
+ *                                                                  *
+ ********************************************************************
+
+ function: basic shared block operations
+
+ ********************************************************************/
+
+#ifndef _V_BLOCK_H_
+#define _V_BLOCK_H_
+
+void *_vorbis_block_alloc(vorbis_block *vb,long bytes);
+
+#endif
diff -urpN mplayer-1.0~rc2.orig/tremor/floor0.c mplayer-1.0~rc2/tremor/floor0.c
--- mplayer-1.0~rc2.orig/tremor/floor0.c	2007-10-07 13:49:27.000000000 -0600
+++ mplayer-1.0~rc2/tremor/floor0.c	2007-10-19 09:17:29.000000000 -0600
@@ -25,6 +25,7 @@
 #include "codebook.h"
 #include "misc.h"
 #include "os.h"
+#include "block.h"
 
 #define LSP_FRACBITS 14
 
diff -urpN mplayer-1.0~rc2.orig/tremor/floor1.c mplayer-1.0~rc2/tremor/floor1.c
--- mplayer-1.0~rc2.orig/tremor/floor1.c	2007-10-07 13:49:27.000000000 -0600
+++ mplayer-1.0~rc2/tremor/floor1.c	2007-10-19 09:17:42.000000000 -0600
@@ -24,6 +24,7 @@
 #include "registry.h"
 #include "codebook.h"
 #include "misc.h"
+#include "block.h"
 
 #define floor1_rangedB 140 /* floor 1 fixed at -140dB to 0dB range */
 
diff -urpN mplayer-1.0~rc2.orig/tremor/res012.c mplayer-1.0~rc2/tremor/res012.c
--- mplayer-1.0~rc2.orig/tremor/res012.c	2007-10-07 13:49:27.000000000 -0600
+++ mplayer-1.0~rc2/tremor/res012.c	2007-10-19 09:17:52.000000000 -0600
@@ -25,6 +25,7 @@
 #include "codebook.h"
 #include "misc.h"
 #include "os.h"
+#include "block.h"
 
 typedef struct {
   vorbis_info_residue0 *info;
diff -urpN mplayer-1.0~rc2.orig/tremor/synthesis.c mplayer-1.0~rc2/tremor/synthesis.c
--- mplayer-1.0~rc2.orig/tremor/synthesis.c	2007-10-07 13:49:27.000000000 -0600
+++ mplayer-1.0~rc2/tremor/synthesis.c	2007-10-19 09:18:02.000000000 -0600
@@ -23,6 +23,7 @@
 #include "registry.h"
 #include "misc.h"
 #include "os.h"
+#include "block.h"
 
 int vorbis_synthesis(vorbis_block *vb,ogg_packet *op){
   vorbis_dsp_state     *vd=vb->vd;

Reply via email to