summaryrefslogtreecommitdiffstats
path: root/tremor/block.h
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-10-20 22:41:24 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-10-20 22:41:24 +0000
commitd653bc61382e831397acb9d974b881c474301314 (patch)
tree8af82e71f5db78eb96906ff6fb291f5f447cdb8a /tremor/block.h
parent97c8a09406208eb68a12883316ee106bdea24424 (diff)
downloadmpv-d653bc61382e831397acb9d974b881c474301314.tar.bz2
mpv-d653bc61382e831397acb9d974b881c474301314.tar.xz
_vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
Add a header file with the function prototype to address this issue. This has the positive side effect of fixing a couple of implicit declaration warnings. The problem was originally reported as Debian bug 447278. patch by Dann Frazier and Andrea Mennucci, mennucc1 debian org git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24824 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'tremor/block.h')
-rw-r--r--tremor/block.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/tremor/block.h b/tremor/block.h
new file mode 100644
index 0000000000..1b21227159
--- /dev/null
+++ b/tremor/block.h
@@ -0,0 +1,24 @@
+/********************************************************************
+ * *
+ * 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);
+void _vorbis_block_ripcord(vorbis_block *vb);
+
+#endif