IR raw data too big

Hey everybody,

I'm using a IR receiver to remote control my AC

I can make it work perfectly using IRrecord with my samsung TV, but when I try to use it with my AC (an italian brand called Olimpia)
I get very weird results

I noticed the raw data was too big then I changed in IRremote.h, but here's the problem.

If I use #define RAWBUF 200 I get

Decoded PANASONIC - Address: 200 Value: 2801C2A1 (48 bits)
Raw (200): 19092 3250 -1550 450 -350 500 -350 450 -350 500 -350 500 -350 450 -350 450 -1150 500 -350 500 -350 450 -350 500 -350 450 -400 450 -350 500 -350 450 -350 450 -400 500 -350 450 -350 500 -1100 500 -350 500 -1100 500 -350 450 -350 500 -350 500 -350 450 -350 500 -350 450 -350 500 -350 500 -350 450 -350 500 -1150 450 -1150 450 -1150 450 -400 450 -350 450 -400 450 -350 500 -1150 450 -350 500 -1100 500 -350 500 -1100 500 -350 450 -350 500 -350 500 -350 450 -1150 450 -350 500 -1150 450 -350 500 -1150 450 -1150 450 -350 500 -350 450 -400 450 -350 500 -350 450 -350 500 -350 500 -350 450 -350 500 -1100 500 -350 500 -350 450 -350 450 -400 450 -350 500 -350 500 -350 450 -350 500 -350 450 -400 450 -400 450 -350 450 -350 500 -350 450 -400 450 -350 500 -350 450 -350 450 -400 500 -350 450 -1150 450 -350 500 -1150 450 -1150 450 -400 450 -1150 450 -1150 450 -350 500 -1150 450 -1150 450 -1150 500 -350 450 -350 500 -350 450 -1150 500

If I use #define RAWBUF 300 I get
Unknown encoding: 4CDAAB1A (32 bits)
Raw (20): -400 450 -350 450 -400 450 -1150 450 -1150 450 -1200 450 -350 450 -400 450 -1150 450 -400 500

This doesnt make sense to me, how could the data get smaller
Can anybody help me?

thanks!

Please put ir as fixed

following http://arduino.cc/forum/index.php/topic,151199.15.html
I figured what to do.

there are 3 changes to be made

in IRremote.h change RAWBUF to a value as large as you need
in IRremoteInt.h change PANASONIC_BITS to a number large enough - I used 200bits
and in IRremoteInt.h again change uint8_t rawlen; to uint16_t rawlen;

Thanks to Cybernetician!