diff options
Diffstat (limited to 'libavformat/mpegts.c')
-rw-r--r-- | libavformat/mpegts.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c index db6dde9cae..2804b95203 100644 --- a/libavformat/mpegts.c +++ b/libavformat/mpegts.c @@ -17,7 +17,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ #include "avformat.h" - +#include "crc.h" #include "mpegts.h" //#define DEBUG_SI @@ -146,7 +146,7 @@ static void write_section_data(AVFormatContext *s, MpegTSFilter *tss1, if (tss->section_h_size != -1 && tss->section_index >= tss->section_h_size) { tss->end_of_section_reached = 1; if (!tss->check_crc || - mpegts_crc32(tss->section_buf, tss->section_h_size) == 0) + av_crc(av_crc04C11DB7, -1, tss->section_buf, tss->section_h_size) == 0) tss->section_cb(tss->opaque, tss->section_buf, tss->section_h_size); } } |