Revision 3abe5fbd libavformat/mpegts.c

View differences:

libavformat/mpegts.c
262 262
    if (tss->section_h_size != -1 && tss->section_index >= tss->section_h_size) {
263 263
        tss->end_of_section_reached = 1;
264 264
        if (!tss->check_crc ||
265
            av_crc(av_crc04C11DB7, -1, tss->section_buf, tss->section_h_size) == 0)
265
            av_crc(av_crc_get_table(AV_CRC_32_IEEE), -1,
266
                   tss->section_buf, tss->section_h_size) == 0)
266 267
            tss->section_cb(tss1, tss->section_buf, tss->section_h_size);
267 268
    }
268 269
}

Also available in: Unified diff