summaryrefslogtreecommitdiff
path: root/libavformat/flvenc.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/flvenc.c
parent8c653280bd2b8606e276045c8b4f2deec3bf8772 (diff)
downloadffmpeg-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/flvenc.c')
-rw-r--r--libavformat/flvenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/flvenc.c b/libavformat/flvenc.c
index 65bdf4b8d5..e6e3d7a011 100644
--- a/libavformat/flvenc.c
+++ b/libavformat/flvenc.c
@@ -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;