[MPlayer-cvslog] r22122 - trunk/libao2/ao_sdl.c
reimar
subversion at mplayerhq.hu
Sun Feb 4 11:01:14 CET 2007
Author: reimar
Date: Sun Feb 4 11:01:13 2007
New Revision: 22122
Modified:
trunk/libao2/ao_sdl.c
Log:
Support for AOPLAY_FINAL_CHUNK in ao_sdl.c
Modified: trunk/libao2/ao_sdl.c
==============================================================================
--- trunk/libao2/ao_sdl.c (original)
+++ trunk/libao2/ao_sdl.c Sun Feb 4 11:01:13 2007
@@ -321,6 +321,7 @@
// return: number of bytes played
static int play(void* data,int len,int flags){
+ if (!(flags & AOPLAY_FINAL_CHUNK))
len = (len/ao_data.outburst)*ao_data.outburst;
#if 0
int ret;
More information about the MPlayer-cvslog
mailing list