Revision 8eaa6e0e libavcodec/cbrt_tablegen.c

View differences:

libavcodec/cbrt_tablegen.c
25 25
#include "cbrt_tablegen.h"
26 26
#include "tableprint.h"
27 27

  
28
void tableinit(void)
28
int main(void)
29 29
{
30 30
    cbrt_tableinit();
31
}
32 31

  
33
const struct tabledef tables[] = {
34
    {
35
        "static const uint32_t cbrt_tab[1<<13]",
36
        write_uint32_array,
37
        cbrt_tab,
38
        1 << 13,
39
        0
40
    },
41
    { NULL }
42
};
32
    write_fileheader();
33

  
34
    printf("static const uint32_t cbrt_tab[1<<13] = {\n");
35
    write_uint32_array(cbrt_tab, 1 << 13);
36
    printf("};\n");
37

  
38
    return 0;
39
}

Also available in: Unified diff