diff options
author | Damien Lespiau <damien.lespiau@intel.com> | 2009-05-04 23:46:42 +0100 |
---|---|---|
committer | Damien Lespiau <damien.lespiau@intel.com> | 2009-05-05 00:03:44 +0100 |
commit | 4eecc4e7adccfb9487e60a28a0697a6cdc882abc (patch) | |
tree | 6f64f0a4cbc601f7522916d0e2b6faa5790ec430 /scripts | |
parent | 243b32c00447e3efb1d176d80dfd79e73db5cfd9 (diff) | |
download | clutter-gst-4eecc4e7adccfb9487e60a28a0697a6cdc882abc.tar.gz |
[videosink] Guard the assembly shaders with NULL
The assembly shader arrays are supposed to be NULL-terminated arrays of
pointers. My system was very kind and never crashed but this can't be
expected in the wild where evil segfaults reign.
Yes, this is embarassing.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/pso2h.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/pso2h.py b/scripts/pso2h.py index 0ce063f..c60f85e 100755 --- a/scripts/pso2h.py +++ b/scripts/pso2h.py @@ -38,7 +38,8 @@ _template = """/* static const char *%s[] = { -%s}; +%s NULL +}; #endif """ |