Revision 43a80cce libavformat/mpegts.c

View differences:

libavformat/mpegts.c
17 17
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18 18
 */
19 19
#include "avformat.h"
20

  
20
#include "crc.h"
21 21
#include "mpegts.h"
22 22

  
23 23
//#define DEBUG_SI
......
146 146
    if (tss->section_h_size != -1 && tss->section_index >= tss->section_h_size) {
147 147
        tss->end_of_section_reached = 1;
148 148
        if (!tss->check_crc ||
149
            mpegts_crc32(tss->section_buf, tss->section_h_size) == 0)
149
            av_crc(av_crc04C11DB7, -1, tss->section_buf, tss->section_h_size) == 0)
150 150
            tss->section_cb(tss->opaque, tss->section_buf, tss->section_h_size);
151 151
    }
152 152
}

Also available in: Unified diff