summaryrefslogtreecommitdiff
path: root/libavformat/mpegtsenc.c
diff options
context:
space:
mode:
authorFabrice Bellard <fabrice@bellard.org>2003-09-10 22:37:33 +0000
committerFabrice Bellard <fabrice@bellard.org>2003-09-10 22:37:33 +0000
commit490579042adbd90921a175c3f738e662b93fe628 (patch)
tree34a8ede2ca4c5cc920389522c827ebece54e9615 /libavformat/mpegtsenc.c
parent8c653280bd2b8606e276045c8b4f2deec3bf8772 (diff)
64 bit pts for writing - more const usage
Originally committed as revision 2255 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/mpegtsenc.c')
-rw-r--r--libavformat/mpegtsenc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/mpegtsenc.c b/libavformat/mpegtsenc.c
index 60520de540..9b1d9d36b4 100644
--- a/libavformat/mpegtsenc.c
+++ b/libavformat/mpegtsenc.c
@@ -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;