blob: 73e6447a228065dfd47df1f8623ec849966a75b1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
$NetBSD: patch-pcm.c,v 1.1 2012/11/01 19:43:42 joerg Exp $
--- pcm.c.orig 2012-10-30 22:47:38.000000000 +0000
+++ pcm.c
@@ -60,7 +60,7 @@ int mStoSamples(int hVox, int time) {
float samples;
float fsr;
- if (!valid(hVox)) return;
+ if (!valid(hVox)) return -1;
timelen = (float) time;
fsr = (float) voxref(hVox).samplerate;
|