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:
@@ -242,7 +242,7 @@ static int flv_write_trailer(AVFormatContext *s)
|
||||
}
|
||||
|
||||
static int flv_write_packet(AVFormatContext *s, int stream_index,
|
||||
uint8_t *buf, int size, int timestamp)
|
||||
const uint8_t *buf, int size, int64_t timestamp)
|
||||
{
|
||||
ByteIOContext *pb = &s->pb;
|
||||
AVCodecContext *enc = &s->streams[stream_index]->codec;
|
||||
|
||||
Reference in New Issue
Block a user