Package: libsndfile1-dev
Version: 1.0.25-5
Severity: normal

Ogg/Vorbis files can consist of multiple parts, simply concatenated
together:

% head -c 10000 /dev/zero | oggenc -r - -o foo.ogg
% head -c 10000 /dev/zero | oggenc -r - -o bar.ogg
% cat foo.ogg bar.ogg > baz.ogg

But libsndfile doesn't handle those files correctly. While it shows
the correct size:

% sndfile-info baz.ogg
[...]
Frames      : 5000
Channels    : 2

It only reads the frames of the first part (the bug is in the
library, not in sndfile-convert; I get the same result with my own
programs using the library):

% sndfile-convert -pcm16 baz.ogg baz.wav
% sndfile-info baz.wav
[...]
Frames      : 2500
Channels    : 2

To fix it, when using libvorbisfile, one would just check the result
of ov_read_* for OV_HOLE and retry, but libsndfile doesn't use
libvorbisfile, but a lower-level interface ...

-- System Information:
Debian Release: 7.6
  APT prefers stable
  APT policy: (900, 'stable'), (500, 'stable-updates'), (500, 
'proposed-updates')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-4-686-pae (SMP w/6 CPU cores)
Locale: LANG=de_DE, LC_CTYPE=de_DE (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash

Versions of packages libsndfile1-dev depends on:
ii  libflac-dev    1.2.1-6
ii  libsndfile1    1.0.25-5
ii  libvorbis-dev  1.3.2-1.3
ii  pkg-config     0.26-1

libsndfile1-dev recommends no packages.

libsndfile1-dev suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to