Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 93738 - faac doesn't handle WAVE_FORMAT_EXTENSIBLE correctly
Summary: faac doesn't handle WAVE_FORMAT_EXTENSIBLE correctly
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 91230
  Show dependency tree
 
Reported: 2005-05-23 14:53 UTC by Glynn Clements
Modified: 2005-10-31 08:57 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Glynn Clements 2005-05-23 14:53:52 UTC
media-libs/faac-1.24

In frontend/input.c, wav_open_read() relies upon the fields of the WAVEFORMATEXTENSIBLE structure being packed, but in practice they aren't. 

Specifically, there may be an additional 16 bits of padding between the Format and Samples fields.

The end result is that the GUID read into the SubFormat field is offset by 2 bytes, resulting in a "file format not supported" error when trying to read 6-channel (5.1) WAV files.
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-10-31 08:57:41 UTC
Please report the issue upstream. If they can provide a patch, feel free to 
reopen this bug.