[Ffmpeg-devel] [PATCH] Fix infinite loop when decoding asf/wma packet

Patrice Bensoussan patrice.bensoussan
Wed Sep 27 21:45:01 CEST 2006


On 26 Sep 2006, at 02:01, Michael Niedermayer wrote:

> Hi
>
> On Tue, Sep 26, 2006 at 12:34:12AM +0100, Patrice Bensoussan wrote:
>> Well, it seems that when the first byte is not 0x82, we continue to
>> decode the packet although I don't know what the implications are for
>> decoding... According to the doc below, most packets are using v82
>> header. So I guess we should do something else when it's not 82...
>> but it's better to do nothing than actually doing something wrong.
>>
>> http://avifile.sourceforge.net/asf-1.0.htm
>>
>> The file showing the issue is definitely decoded with this fix. Do
>> you have any ftp I can use to upload the file? (it's about 12mb).
>
> ftp://upload.mplayerhq.hu/MPlayer/incoming/
>

I finally managed to have the file uploaded by someone else. The file  
name is VORC012.WMA.
(Please delete all other VORC* files which are failed attempts to  
upload the file).

Can you have a look at the patch provided earlier with this file?
Thanks.

Patrice





More information about the ffmpeg-devel mailing list