summaryrefslogtreecommitdiffstats
path: root/libavformat/mpjpeg.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/mpjpeg.c
parent8c653280bd2b8606e276045c8b4f2deec3bf8772 (diff)
downloadffmpeg-streaming-490579042adbd90921a175c3f738e662b93fe628.zip
ffmpeg-streaming-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/mpjpeg.c')
-rw-r--r--libavformat/mpjpeg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/mpjpeg.c b/libavformat/mpjpeg.c
index 62e2601..ab8166b 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);
OpenPOWER on IntegriCloud