summaryrefslogtreecommitdiff
path: root/src/libxvid/xine_decoder.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libxvid/xine_decoder.c')
-rw-r--r--src/libxvid/xine_decoder.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/libxvid/xine_decoder.c b/src/libxvid/xine_decoder.c
index aa203282d..2237798ab 100644
--- a/src/libxvid/xine_decoder.c
+++ b/src/libxvid/xine_decoder.c
@@ -210,18 +210,10 @@ static void xvid_dispose (video_decoder_t *this_gen) {
free (this_gen);
}
-video_decoder_t *init_video_decoder_plugin (int iface_version, xine_t *xine) {
+void *init_video_decoder_plugin (xine_t *xine, void *data) {
xvid_decoder_t *this;
XVID_INIT_PARAM xinit;
- if (iface_version != 10) {
- printf (_("xvid: plugin doesn't support plugin API version %d.\n"
- "xvid: this means there's a version mismatch between xine and this\n"
- "xvid: decoder plugin. Installing current plugins should help.\n"),
- iface_version);
- return NULL;
- }
-
xinit.cpu_flags = 0;
xvid_init(NULL, 0, &xinit, NULL);
if (xinit.api_version != API_VERSION) {