Revision 350120d2 libavcodec/pcm_tablegen.c

View differences:

libavcodec/pcm_tablegen.c
32 32

  
33 33
    write_fileheader();
34 34

  
35
    printf("static const uint8_t linear_to_alaw[1 << 14] = {\n");
36
    write_uint8_t_array(linear_to_alaw, 1 << 14);
37
    printf("};\n");
38

  
39
    printf("static const uint8_t linear_to_ulaw[1 << 14] = {\n");
40
    write_uint8_t_array(linear_to_ulaw, 1 << 14);
41
    printf("};\n");
35
    WRITE_ARRAY("static const", uint8_t, linear_to_alaw);
36
    WRITE_ARRAY("static const", uint8_t, linear_to_ulaw);
42 37

  
43 38
    return 0;
44 39
}

Also available in: Unified diff