Windows Media SDK IWMAudioInfo Can Corrupt WMA Files (247542)



The information in this article applies to:

  • Microsoft Windows Media Services 4.0

This article was previously published under Q247542

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 that this is 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.

Modification Type:MajorLast Reviewed:11/7/2002
Keywords:kbbug KB247542 kbAudDeveloper