[pulseaudio-tickets] [Bug 70096] sndfile-util.c crashes on 24 bit files
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sat Oct 5 16:07:05 PDT 2013
https://bugs.freedesktop.org/show_bug.cgi?id=70096
--- Comment #1 from Kiran <kiraank at gmail.com> ---
Submitted patch:
>From 970387d89e39362af1dddad7b374206f39c5b8f9 Mon Sep 17 00:00:00 2001
From: Kiran Krishnappa <kiraank at gmail.com>
Date: Sat, 5 Oct 2013 14:55:52 -0700
Subject: [PATCH] sndfile-util: fix format for 24bit depth wav files
PA_SAMPLE_24NE generated in pa_sndfile_read_sample_spec is not
handled in pa_sndfile_readf_function. paplay used to get aborted
for 24bit depth wav files
---
src/pulsecore/sndfile-util.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/pulsecore/sndfile-util.c b/src/pulsecore/sndfile-util.c
index 0820ee4..46689af 100644
--- a/src/pulsecore/sndfile-util.c
+++ b/src/pulsecore/sndfile-util.c
@@ -386,6 +386,9 @@ pa_sndfile_readf_t pa_sndfile_readf_function(const
pa_sample_spec *ss) {
case PA_SAMPLE_ALAW:
return NULL;
+ case PA_SAMPLE_S24NE:
+ return NULL;
+
default:
pa_assert_not_reached();
}
--
1.7.9.5
--
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20131005/ade1c604/attachment.html>
More information about the pulseaudio-bugs
mailing list