changeset 3020:70d876a0b90e

NULL-terminate the lists of autogenerated converters.
author Ryan C. Gordon <icculus@icculus.org>
date Sun, 11 Jan 2009 04:46:14 +0000
parents dfd23eb79be9
children f3dcf04412cf
files src/audio/sdlgenaudiocvt.pl
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/audio/sdlgenaudiocvt.pl	Sun Jan 11 04:39:09 2009 +0000
+++ b/src/audio/sdlgenaudiocvt.pl	Sun Jan 11 04:46:14 2009 +0000
@@ -338,6 +338,7 @@
     }
     print "#endif  /* !NO_CONVERTERS */\n";
 
+    print("    { 0, 0, NULL }\n");
     print "};\n\n\n";
 }
 
@@ -735,6 +736,7 @@
 
     print "#endif  /* !LESS_RESAMPLERS */\n";
     print "#endif  /* !NO_RESAMPLERS */\n";
+    print("    { 0, 0, 0, 0, NULL }\n");
     print "};\n\n";
 }