From 490579042adbd90921a175c3f738e662b93fe628 Mon Sep 17 00:00:00 2001 From: Fabrice Bellard Date: Wed, 10 Sep 2003 22:37:33 +0000 Subject: 64 bit pts for writing - more const usage Originally committed as revision 2255 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/nut.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavformat/nut.c') diff --git a/libavformat/nut.c b/libavformat/nut.c index 9b9be7c37a..a1e98a20a4 100644 --- a/libavformat/nut.c +++ b/libavformat/nut.c @@ -344,7 +344,7 @@ static int nut_write_header(AVFormatContext *s) } 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 @@ static int nut_write_packet(AVFormatContext *s, int stream_index, 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); -- cgit v1.2.3