summaryrefslogtreecommitdiffstats
path: root/ext/xvid/gstxvid.c
diff options
context:
space:
mode:
authorRonald S. Bultje <rbultje@ronald.bitfreak.net>2003-07-14 06:31:26 +0000
committerRonald S. Bultje <rbultje@ronald.bitfreak.net>2003-07-14 06:31:26 +0000
commitff1182f0bdba71efe2ba8750f20f8a6f55239fde (patch)
tree9eb8d36f89386b066794f2277bd4a666d143f56f /ext/xvid/gstxvid.c
parent0848c5302e92ee1f1691e22b7e80405d1174e9d4 (diff)
downloadgst-plugins-bad-ff1182f0bdba71efe2ba8750f20f8a6f55239fde.tar.gz
gst-plugins-bad-ff1182f0bdba71efe2ba8750f20f8a6f55239fde.tar.bz2
gst-plugins-bad-ff1182f0bdba71efe2ba8750f20f8a6f55239fde.zip
Fix some weird-ass segfaults in xvid
Original commit message from CVS: Fix some weird-ass segfaults in xvid
Diffstat (limited to 'ext/xvid/gstxvid.c')
-rw-r--r--ext/xvid/gstxvid.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/ext/xvid/gstxvid.c b/ext/xvid/gstxvid.c
index e1a9700e..fb7d06f4 100644
--- a/ext/xvid/gstxvid.c
+++ b/ext/xvid/gstxvid.c
@@ -56,24 +56,6 @@ static gboolean
plugin_init (GModule *module,
GstPlugin *plugin)
{
- XVID_INIT_PARAM xinit;
- gint ret;
-
- /* set up xvid initially (function pointers, CPU flags) */
- memset(&xinit, 0, sizeof(XVID_INIT_PARAM));
- xinit.cpu_flags = 0;
- if ((ret = xvid_init(NULL, 0, &xinit, NULL)) != XVID_ERR_OK) {
- g_warning("Faied to initialize XviD: %s (%d)",
- gst_xvid_error(ret), ret);
- return FALSE;
- }
-
- if (xinit.api_version != API_VERSION) {
- g_warning("Xvid API version mismatch! %d.%d (that's us) != %d.%d (lib)",
- (API_VERSION >> 8) & 0xff, API_VERSION & 0xff,
- (xinit.api_version >> 8) & 0xff, xinit.api_version & 0xff);
- }
-
return (gst_xviddec_plugin_init(module, plugin) &&
gst_xvidenc_plugin_init(module, plugin));
}