[MPlayer-dev-eng] [PATCH]Signal 11 fix for radeon vidix.

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Wed Aug 4 10:37:05 CEST 2004


Hi,
> Ergo my suggestion (diff against 20040510 snapshot
> vidix/drivers/radeon_vid.c):
> --- radeon_vid.c.orig   2004-05-10 22:55:04.970350640 -0400
> +++ radeon_vid.c        2004-05-10 22:56:03.115511232 -0400
> @@ -930,7 +930,11 @@
>  void probe_fireGL_driver() {
>    Display *dp = XOpenDisplay ((void*)0);
>    int n = 0;
> -  char **extlist = XListExtensions (dp, &n);
> +  char **extlist;
> +  if (dp==NULL) {
> +       return;
> +  }
> +  extlist = XListExtensions (dp, &n);
>    XCloseDisplay (dp);
>    if (extlist) {
>      int i;

This one was obviously applied some time ago.

Greetings,
Reimar Döffinger




More information about the MPlayer-dev-eng mailing list