Bug 250088 - audio/shntool: shnsplit unable to split 24bit wav or flac
Summary: audio/shntool: shnsplit unable to split 24bit wav or flac
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Tobias C. Berner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-04 06:14 UTC by Danoz
Modified: 2020-10-04 06:42 UTC (History)
1 user (show)

See Also:
tcberner: maintainer-feedback+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Danoz 2020-10-04 06:14:40 UTC
when attempting to split a 24bit wav/flac file, shnsplit errors out:

shnsplit: warning: unsupported format 0xfffe (Unknown) while processing file: [test.flac]
shnsplit: warning: none of the builtin format modules handle input file: [test.flac]
shnsplit: error: cannot continue due to error(s) shown above

Looks to be a mostly simple fix based on identical bugs in Debian/RHEL/etc

https://salsa.debian.org/debian/shntool/-/commit/57efcd7b34c2107dd785c11d79dfcd4520b2bc41
Comment 1 commit-hook freebsd_committer freebsd_triage 2020-10-04 06:41:39 UTC
A commit references this bug:

Author: tcberner
Date: Sun Oct  4 06:41:36 UTC 2020
New revision: 551359
URL: https://svnweb.freebsd.org/changeset/ports/551359

Log:
  audio/shntool: add upstream fix

  * Added WAVE_FORMAT_EXTENSIBLE with value 0xfffe and supressed error on wav
    header parsing with that format

  PR:		250088
  Reported by:	Danoz <danoz@danoz.net>

Changes:
  head/audio/shntool/Makefile
  head/audio/shntool/distinfo
Comment 2 Tobias C. Berner freebsd_committer freebsd_triage 2020-10-04 06:41:48 UTC
Committed, thanks.