comparison flvenc.c @ 241:3d92f793fd67 libavformat

64 bit pts for writing - more const usage
author bellard
date Wed, 10 Sep 2003 22:37:33 +0000
parents eb90c0a5a1ba
children e9232aa21976
comparison
equal deleted inserted replaced
240:e6f99d238179 241:3d92f793fd67
240 url_fseek(pb, file_size, SEEK_SET); 240 url_fseek(pb, file_size, SEEK_SET);
241 return 0; 241 return 0;
242 } 242 }
243 243
244 static int flv_write_packet(AVFormatContext *s, int stream_index, 244 static int flv_write_packet(AVFormatContext *s, int stream_index,
245 uint8_t *buf, int size, int timestamp) 245 const uint8_t *buf, int size, int64_t timestamp)
246 { 246 {
247 ByteIOContext *pb = &s->pb; 247 ByteIOContext *pb = &s->pb;
248 AVCodecContext *enc = &s->streams[stream_index]->codec; 248 AVCodecContext *enc = &s->streams[stream_index]->codec;
249 FLVContext *flv = s->priv_data; 249 FLVContext *flv = s->priv_data;
250 250