ao_pcm: minor simplification

This commit is contained in:
wm4 committed 2014-09-06 12:58:54 +02:00
1 parent 4962a1ece3
commit 6c9ce5bee2
1 file changed
+1 -1
+1 -1
View File
@@ -203,7 +203,7 @@ static int play(struct ao *ao, void **data, int samples, int flags)
fwrite(data[0], len, 1, priv->fp);
priv->data_length += len;
return len / ao->sstride;
return samples;
}
#define OPT_BASE_STRUCT struct priv