NULL-terminate the lists of autogenerated converters.
authorRyan C. Gordon
Sun, 11 Jan 2009 04:46:14 +0000
changeset 302070d876a0b90e
parent 3019 dfd23eb79be9
child 3021 f3dcf04412cf
NULL-terminate the lists of autogenerated converters.
src/audio/sdlgenaudiocvt.pl
     1.1 --- a/src/audio/sdlgenaudiocvt.pl	Sun Jan 11 04:39:09 2009 +0000
     1.2 +++ b/src/audio/sdlgenaudiocvt.pl	Sun Jan 11 04:46:14 2009 +0000
     1.3 @@ -338,6 +338,7 @@
     1.4      }
     1.5      print "#endif  /* !NO_CONVERTERS */\n";
     1.6  
     1.7 +    print("    { 0, 0, NULL }\n");
     1.8      print "};\n\n\n";
     1.9  }
    1.10  
    1.11 @@ -735,6 +736,7 @@
    1.12  
    1.13      print "#endif  /* !LESS_RESAMPLERS */\n";
    1.14      print "#endif  /* !NO_RESAMPLERS */\n";
    1.15 +    print("    { 0, 0, 0, 0, NULL }\n");
    1.16      print "};\n\n";
    1.17  }
    1.18