Revision 3abe5fbd libavformat/mpegtsenc.c

View differences:

libavformat/mpegtsenc.c
43 43
    unsigned char *q;
44 44
    int first, b, len1, left;
45 45

  
46
    crc = bswap_32(av_crc(av_crc04C11DB7, -1, buf, len - 4));
46
    crc = bswap_32(av_crc(av_crc_get_table(AV_CRC_32_IEEE), -1, buf, len - 4));
47 47
    buf[len - 4] = (crc >> 24) & 0xff;
48 48
    buf[len - 3] = (crc >> 16) & 0xff;
49 49
    buf[len - 2] = (crc >> 8) & 0xff;

Also available in: Unified diff