mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-12-24 11:52:06 +08:00
64 bit pts for writing - more const usage
Originally committed as revision 2255 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user