diff asf.c @ 241:3d92f793fd67 libavformat

64 bit pts for writing - more const usage
author bellard
date Wed, 10 Sep 2003 22:37:33 +0000
parents eb90c0a5a1ba
children a313e1080322
line wrap: on
line diff
--- a/asf.c	Wed Sep 10 13:00:24 2003 +0000
+++ b/asf.c	Wed Sep 10 22:37:33 2003 +0000
@@ -584,7 +584,7 @@
    crap. They have misread the MPEG Systems spec !
  */
 static void put_frame(AVFormatContext *s, ASFStream *stream, int timestamp,
-                      uint8_t *buf, int payload_size)
+                      const uint8_t *buf, int payload_size)
 {
     ASFContext *asf = s->priv_data;
     int frag_pos, frag_len, frag_len1;
@@ -617,7 +617,7 @@
 
 
 static int asf_write_packet(AVFormatContext *s, int stream_index,
-                            uint8_t *buf, int size, int timestamp)
+                            const uint8_t *buf, int size, int64_t timestamp)
 {
     ASFContext *asf = s->priv_data;
     ASFStream *stream;