aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/ffm.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/ffm.c
parent8c653280bd2b8606e276045c8b4f2deec3bf8772 (diff)
downloadffmpeg-490579042adbd90921a175c3f738e662b93fe628.tar.gz
64 bit pts for writing - more const usage
Originally committed as revision 2255 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/ffm.c')
-rw-r--r--libavformat/ffm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/ffm.c b/libavformat/ffm.c
index 7eb3ca4e88..350da589b6 100644
--- a/libavformat/ffm.c
+++ b/libavformat/ffm.c
@@ -82,7 +82,7 @@ static void flush_packet(AVFormatContext *s)
/* '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_header(AVFormatContext *s)
}
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;