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:
@@ -25,7 +25,7 @@ static int raw_write_header(struct AVFormatContext *s)
|
||||
}
|
||||
|
||||
static int raw_write_packet(struct AVFormatContext *s, int stream_index,
|
||||
unsigned char *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);
|
||||
@@ -459,7 +459,7 @@ AVOutputFormat rawvideo_oformat = {
|
||||
|
||||
static int null_write_packet(struct AVFormatContext *s,
|
||||
int stream_index,
|
||||
unsigned char *buf, int size, int force_pts)
|
||||
const uint8_t *buf, int size, int64_t pts)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user