[FFmpeg-soc] [soc]: r1844 - dvbmuxer/mpegtsenc.c

bcoudurier subversion at mplayerhq.hu
Tue Jan 29 18:31:44 CET 2008


Author: bcoudurier
Date: Tue Jan 29 18:31:43 2008
New Revision: 1844

Log:
sync with svn

Modified:
   dvbmuxer/mpegtsenc.c

Modified: dvbmuxer/mpegtsenc.c
==============================================================================
--- dvbmuxer/mpegtsenc.c	(original)
+++ dvbmuxer/mpegtsenc.c	Tue Jan 29 18:31:43 2008
@@ -45,7 +45,7 @@ static void mpegts_write_section(MpegTSS
     unsigned char *q;
     int first, b, len1, left;
 
-    crc = bswap_32(av_crc(av_crc04C11DB7, -1, buf, len - 4));
+    crc = bswap_32(av_crc(av_crc_get_table(AV_CRC_32_IEEE), -1, buf, len - 4));
     buf[len - 4] = (crc >> 24) & 0xff;
     buf[len - 3] = (crc >> 16) & 0xff;
     buf[len - 2] = (crc >> 8) & 0xff;



More information about the FFmpeg-soc mailing list