diff options
author | Tomas Carnecky <tom@dbservice.com> | 2012-07-10 02:03:08 +0100 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2012-07-09 23:28:37 -0700 |
commit | 5d92ee4081a23a6b4d1f9ba2a98985f539f99312 (patch) | |
tree | 680b217768541a0b7a67af9679bc5f11f385618b /mi | |
parent | 2e6c5f959153cdcea4bcf719621ebec408250f54 (diff) |
Xv: Remove excessive module-induced indirection
Xv used to call XvScreenInit and co. through function pointers, as
XvScreenInit may have been sitting on the other side of a module
boundary from xf86XvScreenInit. Why this was so is a mystery, but make
it not so any more.
Signed-off-by: Tomas Carnecky <tom@dbservice.com>
Reviewed-by: Daniel Stone <daniel@fooishbar.org>
Acked-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'mi')
-rw-r--r-- | mi/miinitext.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mi/miinitext.c b/mi/miinitext.c index a83df609d..74fb223fb 100644 --- a/mi/miinitext.c +++ b/mi/miinitext.c @@ -413,8 +413,8 @@ static ExtensionModule staticExtensions[] = { {ResExtensionInit, XRES_NAME, &noResExtension, NULL}, #endif #ifdef XV - {XvExtensionInit, XvName, &noXvExtension, XvRegister}, - {XvMCExtensionInit, XvMCName, &noXvExtension, XvMCRegister}, + {XvExtensionInit, XvName, &noXvExtension, NULL}, + {XvMCExtensionInit, XvMCName, &noXvExtension, NULL}, #endif }; |