Windows Media SDK IWMAudioInfo Can Corrupt WMA Files

ID: Q247542


The information in this article applies to:
  • Microsoft Windows Media SDK version 4.0


SYMPTOMS

When you create applications that modify or create attributes in Windows Media Audio (WMA) files using the IWMAudioInfo API, information in the file header may become corrupt, causing the stream to be unplayable.


CAUSE

The file size may be stored incorrectly, in a way that does not match the actual size of the file. As a result, the audio file does not play.


RESOLUTION

Microsoft has confirmed this to be a problem in Microsoft Windows Media SDK version 4.0.


WORKAROUND

To work around this issue, run the ASFCHECK tool against the file to reset the file header with the proper information.


MORE INFORMATION

Custom applications that may use the IWMAudioInfo API are used for adding special attributes to Windows Media Audio (WMA) files. Examples of these attributes are Artist, Title, Album, Year, Comments, and so on.

Additional query words: netshow

Keywords : kbwms41
Version : :4.0
Platform :
Issue type : kbbug


Last Reviewed: December 29, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.