Sylvain HENRY wrote:
> Hi,
> 
> I corrected warnings given by GCC (especially I had to use rb_num2long and not rb_num2int but the result is the same).
> 

 For me it say

   /home/ts/local/ff/include/libavutil/common.h:107:1: warning: "RSHIFT" redefined

 and it give

vgs% ruby -r testo -e 'Punyu::Testo::new(100)'
vindex 201, index 101
vindex 201, index 100
vindex 201, index 101
vgs% 

 You must make in sort that the compiler take the definition of
 RSHIFT() from an ruby include file

 and it will give


vgs% ruby -r testo -e 'Punyu::Testo::new(100)'
vindex 201, index 100
vindex 201, index 100
vindex 201, index 100
vgs% 


Guy Decoux