packages: deadbeef/deadbeef-ffmpeg-0.8.patch - I bet it was meant to be siz...

Michal Lisowski lisu87 at gmail.com
Fri Jul 1 08:55:17 CEST 2011


W dniu 30.06.2011 19:52, Jakub Bogusz pisze:
> On Thu, Jun 30, 2011 at 07:23:02PM +0200, qboosh wrote:
>> Author: qboosh                       Date: Thu Jun 30 17:23:02 2011 GMT
>> Module: packages                      Tag: HEAD
>> ---- Log message:
>> - I bet it was meant to be size of struct, not a pointer to it
>>
>> ---- Files affected:
>> packages/deadbeef:
>>     deadbeef-ffmpeg-0.8.patch (1.3 ->  1.4)
>>
>> ---- Diffs:
>>
>> ================================================================
>> Index: packages/deadbeef/deadbeef-ffmpeg-0.8.patch
>> diff -u packages/deadbeef/deadbeef-ffmpeg-0.8.patch:1.3 packages/deadbeef/deadbeef-ffmpeg-0.8.patch:1.4
>> --- packages/deadbeef/deadbeef-ffmpeg-0.8.patch:1.3	Thu Jun 30 10:32:50 2011
>> +++ packages/deadbeef/deadbeef-ffmpeg-0.8.patch	Thu Jun 30 19:22:57 2011
>> @@ -23,7 +23,7 @@
>>        avcodec_init ();
>>        av_register_all ();
>>   -    av_register_protocol (&vfswrapper);
>> -+    av_register_protocol2 (&vfswrapper, sizeof(&vfswrapper));
>> ++    av_register_protocol2 (&vfswrapper, sizeof(vfswrapper));
>>        return 0;
>>    }
>>
> Nie testowałem, ale z komentarza w avio.h wynika, że chodzi o rozmiar
> struktury; przekazywanie rozmiaru wskaźnika byłoby co najmniej dziwne.

Owszem, głupi czeski błąd. Dzięki za wychwycenie.


More information about the pld-devel-pl mailing list