comparison beosaudio.cpp @ 66:ad9bcf041e8e libavformat

Looks like this one was forgotten in the INT -> int_t move
author mmu_man
date Thu, 13 Feb 2003 00:28:36 +0000
parents 90fd30dd68b3
children 89e992063014
comparison
equal deleted inserted replaced
65:a58a8a53eb46 66:ad9bcf041e8e
49 int sample_rate; 49 int sample_rate;
50 int channels; 50 int channels;
51 int frame_size; /* in bytes ! */ 51 int frame_size; /* in bytes ! */
52 CodecID codec_id; 52 CodecID codec_id;
53 int flip_left : 1; 53 int flip_left : 1;
54 UINT8 buffer[AUDIO_BUFFER_SIZE]; 54 uint8_t buffer[AUDIO_BUFFER_SIZE];
55 int buffer_ptr; 55 int buffer_ptr;
56 int pipefd; /* the other end of the pipe */ 56 int pipefd; /* the other end of the pipe */
57 /* ring buffer */ 57 /* ring buffer */
58 sem_id input_sem; 58 sem_id input_sem;
59 int input_index; 59 int input_index;
266 return -EIO; 266 return -EIO;
267 return 0; 267 return 0;
268 } 268 }
269 269
270 static int audio_write_packet(AVFormatContext *s1, int stream_index, 270 static int audio_write_packet(AVFormatContext *s1, int stream_index,
271 UINT8 *buf, int size, int force_pts) 271 uint8_t *buf, int size, int force_pts)
272 { 272 {
273 AudioData *s = (AudioData *)s1->priv_data; 273 AudioData *s = (AudioData *)s1->priv_data;
274 int len, ret; 274 int len, ret;
275 #ifdef PERF_CHECK 275 #ifdef PERF_CHECK
276 bigtime_t t = s->starve_time; 276 bigtime_t t = s->starve_time;