diff nut.c @ 241:3d92f793fd67 libavformat

64 bit pts for writing - more const usage
author bellard
date Wed, 10 Sep 2003 22:37:33 +0000
parents e6f99d238179
children 6821ccd70a1c
line wrap: on
line diff
--- a/nut.c	Wed Sep 10 13:00:24 2003 +0000
+++ b/nut.c	Wed Sep 10 22:37:33 2003 +0000
@@ -344,7 +344,7 @@
 }
 
 static int nut_write_packet(AVFormatContext *s, int stream_index, 
-			    uint8_t *buf, int size, int force_pts)
+			    const uint8_t *buf, int size, int64_t pts)
 {
     NUTContext *nut = s->priv_data;
     ByteIOContext *bc = &s->pb;
@@ -372,7 +372,7 @@
 
     put_packetheader(nut, bc, size+20);
     put_v(bc, stream_index);
-    put_s(bc, force_pts); /* lsb_timestamp */
+    put_s(bc, pts); /* lsb_timestamp */
     update_packetheader(nut, bc, size);
     
     put_buffer(bc, buf, size);