diff ffm.c @ 241:3d92f793fd67 libavformat

64 bit pts for writing - more const usage
author bellard
date Wed, 10 Sep 2003 22:37:33 +0000
parents 2fa5e94ba716
children a313e1080322
line wrap: on
line diff
--- a/ffm.c	Wed Sep 10 13:00:24 2003 +0000
+++ b/ffm.c	Wed Sep 10 22:37:33 2003 +0000
@@ -82,7 +82,7 @@
 
 /* 'first' is true if first data of a frame */
 static void ffm_write_data(AVFormatContext *s,
-                           uint8_t *buf, int size,
+                           const uint8_t *buf, int size,
                            int64_t pts, int first)
 {
     FFMContext *ffm = s->priv_data;
@@ -215,7 +215,7 @@
 }
 
 static int ffm_write_packet(AVFormatContext *s, int stream_index,
-                            uint8_t *buf, int size, int force_pts)
+                            const uint8_t *buf, int size, int64_t force_pts)
 {
     AVStream *st = s->streams[stream_index];
     FFMStream *fst = st->priv_data;