comparison img.c @ 241:3d92f793fd67 libavformat

64 bit pts for writing - more const usage
author bellard
date Wed, 10 Sep 2003 22:37:33 +0000
parents 8ca8b6bc24a5
children 75e061728d92
comparison
equal deleted inserted replaced
240:e6f99d238179 241:3d92f793fd67
299 299
300 return 0; 300 return 0;
301 } 301 }
302 302
303 static int img_write_packet(AVFormatContext *s, int stream_index, 303 static int img_write_packet(AVFormatContext *s, int stream_index,
304 uint8_t *buf, int size, int force_pts) 304 const uint8_t *buf, int size, int64_t pts)
305 { 305 {
306 VideoData *img = s->priv_data; 306 VideoData *img = s->priv_data;
307 AVStream *st = s->streams[stream_index]; 307 AVStream *st = s->streams[stream_index];
308 ByteIOContext pb1, *pb; 308 ByteIOContext pb1, *pb;
309 AVPicture *picture; 309 AVPicture *picture;