comparison src/vorbis/vorbis.c @ 539:f17fb87c0288 trunk

[svn] - some tweaks
author nenolod
date Tue, 23 Jan 2007 06:24:14 -0800
parents f93983482697
children 62c4c304a997
comparison
equal deleted inserted replaced
538:f93983482697 539:f17fb87c0288
367 ov_read(&vf, pcmout, sizeof(pcmout), 367 ov_read(&vf, pcmout, sizeof(pcmout),
368 (int) (G_BYTE_ORDER == G_BIG_ENDIAN), 368 (int) (G_BYTE_ORDER == G_BIG_ENDIAN),
369 2, 1, &current_section); 369 2, 1, &current_section);
370 } 370 }
371 371
372 /*
373 * We got some sort of error. Bail.
374 */
372 if (bytes <= 0) { 375 if (bytes <= 0) {
373 case 0:
374 /* EOF */
375 g_mutex_unlock(vf_mutex); 376 g_mutex_unlock(vf_mutex);
376 vorbis_ip.output->buffer_free(); 377 vorbis_ip.output->buffer_free();
377 vorbis_ip.output->buffer_free(); 378 vorbis_ip.output->buffer_free();
378 vorbis_eos = TRUE; 379 vorbis_eos = TRUE;
379 return last_section; 380 return last_section;