64 bit pts for writing - more const usage

Originally committed as revision 2255 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Fabrice Bellard
2003-09-10 22:37:33 +00:00
parent 8c653280bd
commit 490579042a
25 changed files with 53 additions and 54 deletions

View File

@@ -22,7 +22,7 @@
/* write DVB SI sections */
static uint32_t crc_table[256] = {
static const uint32_t crc_table[256] = {
0x00000000, 0x04c11db7, 0x09823b6e, 0x0d4326d9, 0x130476dc, 0x17c56b6b,
0x1a864db2, 0x1e475005, 0x2608edb8, 0x22c9f00f, 0x2f8ad6d6, 0x2b4bcb61,
0x350c9b64, 0x31cd86d3, 0x3c8ea00a, 0x384fbdbd, 0x4c11db70, 0x48d0c6c7,
@@ -454,7 +454,7 @@ static void retransmit_si_info(AVFormatContext *s)
}
static int mpegts_write_packet(AVFormatContext *s, int stream_index,
uint8_t *buf, int size, int pts1)
const uint8_t *buf, int size, int64_t pts1)
{
AVStream *st = s->streams[stream_index];
MpegTSWriteStream *ts_st = st->priv_data;