summaryrefslogtreecommitdiff
path: root/src/libspudec/xine_decoder.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libspudec/xine_decoder.c')
-rw-r--r--src/libspudec/xine_decoder.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/libspudec/xine_decoder.c b/src/libspudec/xine_decoder.c
index 818b10959..333267261 100644
--- a/src/libspudec/xine_decoder.c
+++ b/src/libspudec/xine_decoder.c
@@ -19,7 +19,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: xine_decoder.c,v 1.66 2002/04/24 20:26:07 jcdutton Exp $
+ * $Id: xine_decoder.c,v 1.67 2002/05/01 19:42:56 guenter Exp $
*
* stuff needed to turn libspu into a xine decoder plugin
*/
@@ -301,7 +301,7 @@ spu_decoder_t *init_spu_decoder_plugin (int iface_version, xine_t *xine) {
spudec_decoder_t *this ;
- if (iface_version != 6) {
+ if (iface_version != 7) {
printf("libspudec: Doesn't support plugin API version %d.\n"
"libspudec: This means there is a version mismatch between XINE and\n"
"libspudec: this plugin.\n", iface_version);
@@ -309,8 +309,6 @@ spu_decoder_t *init_spu_decoder_plugin (int iface_version, xine_t *xine) {
}
this = (spudec_decoder_t *) xine_xmalloc (sizeof (spudec_decoder_t));
-/* xine_xmalloc does memset */
-/* memset (this, 0, sizeof(*this)); */
this->spu_decoder.interface_version = iface_version;
this->spu_decoder.can_handle = spudec_can_handle;