I set the offset to 18, because without this offset, my picture have bad colors.
The packet->size is not good (packet->size == (width * height * 4 (4 for RGBA) + 44)
Why my packet->size has 44 bytes at the end?
Why my picture is shifted and have the bad colors?
If I set my offset to 18, so I start to read to packet->buffer, my picture isn't shifted and have the good colors. Why?
> I have a problem when I try to load a TGA picture.
You are not using FFmpeg's tga decoder.
If this is because you found a bug in it, please tell us!
If this is because you find it's non-optimal, please send a patch!
If you have another reason, this is probably the wrong mailing
list for issues you have in code not related to FFmpeg.