diff options
author | wm4 <wm4@nowhere> | 2014-09-06 12:58:54 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-09-06 12:58:54 +0200 |
commit | 6c9ce5bee2b899cf67eba65e23e897731441c806 (patch) | |
tree | 3be0da538e4f8b0fd9273d41dfeb571f1fc52399 /audio | |
parent | 4962a1ece3cd6a376b1dd46e0ad424b2f6d1c583 (diff) | |
download | mpv-6c9ce5bee2b899cf67eba65e23e897731441c806.tar.bz2 mpv-6c9ce5bee2b899cf67eba65e23e897731441c806.tar.xz |
ao_pcm: minor simplification
Diffstat (limited to 'audio')
-rw-r--r-- | audio/out/ao_pcm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/out/ao_pcm.c b/audio/out/ao_pcm.c index 649c7072b1..ee7a5eb1ba 100644 --- a/audio/out/ao_pcm.c +++ b/audio/out/ao_pcm.c @@ -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 |