2009/8/4 Luca Abeni <[email protected]>

> Alessandro Ferrari wrote:
>
>> 2009/8/4 Luca Abeni <[email protected]>
>>
>>  Alessandro Ferrari wrote:
>>>
>>>  //include swscale
>>>> #include "libswscale/swscale.h"
>>>>
>>>> //function for convert from yuv to bitmap
>>>> char* yuv2rgb()
>>>> {
>>>>  *static SwsContext *sws_context = NULL;*
>>>>
>>>>   ^^^^^                                  ^^^^^
>>>  what is this? :)
>>>
>>>
>>>                               Luca
>>>
>>
>> Sorry, is the tag for the bold character on my mail client. My program in
>> netbeans is:
>>
>> char* yuv2rgb()
>> {
>>    static SwsContext *sws_context = NULL;
>>
>        ^^^^^^^^^^
> I think this should be "static struct SwsContext ...", not
> "static SwsContext ..."
>
>
>
>                        Luca
> _______________________________________________
> libav-user mailing list
> [email protected]
> https://lists.mplayerhq.hu/mailman/listinfo/libav-user
>


Many Thanks. Now it works!
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to