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/mpjpeg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavformat/mpjpeg.c') diff --git a/libavformat/mpjpeg.c b/libavformat/mpjpeg.c index 62e2601aad..ab8166b16a 100644 --- a/libavformat/mpjpeg.c +++ b/libavformat/mpjpeg.c @@ -33,7 +33,7 @@ static int mpjpeg_write_header(AVFormatContext *s) } static int mpjpeg_write_packet(AVFormatContext *s, int stream_index, - uint8_t *buf, int size, int force_pts) + const uint8_t *buf, int size, int64_t pts) { uint8_t buf1[256]; @@ -75,7 +75,7 @@ static int single_jpeg_write_header(AVFormatContext *s) } static int single_jpeg_write_packet(AVFormatContext *s, int stream_index, - uint8_t *buf, int size, int force_pts) + const uint8_t *buf, int size, int64_t pts) { put_buffer(&s->pb, buf, size); put_flush_packet(&s->pb); -- cgit v1.2.3