New submission from jtidman <jtid...@siliconcoral.com>:

wave.py does not always honor the sampwidth setting, especially on little 
endian machines.  If sampwidth is not one and big_endian is not set, then 
datawritten will not be muliplied by sampwidth, causing the header to be 
incorrect, and the file to appear to contain less data than it chould.

----------
components: Library (Lib)
files: patch.txt
messages: 127956
nosy: jtidman
priority: normal
severity: normal
status: open
title: Wave.py does not always write proper length in header
type: behavior
versions: Python 2.7
Added file: http://bugs.python.org/file20682/patch.txt

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue11126>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to