comparison beosaudio.cpp @ 246:8c55237af288 libavformat

64 bit pts for writing - more const usage (don't forget me !)
author mmu_man
date Sat, 13 Sep 2003 09:20:12 +0000
parents 41d4f3a86c98
children c33bf4d10c4c
comparison
equal deleted inserted replaced
245:d8b6af80b1dd 246:8c55237af288
294 return -EIO; 294 return -EIO;
295 return 0; 295 return 0;
296 } 296 }
297 297
298 static int audio_write_packet(AVFormatContext *s1, int stream_index, 298 static int audio_write_packet(AVFormatContext *s1, int stream_index,
299 uint8_t *buf, int size, int force_pts) 299 const uint8_t *buf, int size, int64_t force_pts)
300 { 300 {
301 AudioData *s = (AudioData *)s1->priv_data; 301 AudioData *s = (AudioData *)s1->priv_data;
302 int len, ret; 302 int len, ret;
303 #ifdef LATENCY_CHECK 303 #ifdef LATENCY_CHECK
304 bigtime_t lat1, lat2; 304 bigtime_t lat1, lat2;