NULL-terminate the lists of autogenerated converters.
authorRyan C. Gordon <icculus@icculus.org>
Sun, 11 Jan 2009 04:46:14 +0000
changeset 3020 70d876a0b90e
parent 3019 dfd23eb79be9
child 3021 f3dcf04412cf
NULL-terminate the lists of autogenerated converters.
src/audio/sdlgenaudiocvt.pl
--- 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";
 }