29 Jun
2007
29 Jun
'07
5:01 p.m.
Le primidi 11 messidor, an CCXV, Reimar Döffinger a écrit :
YV12 with some wmv3 video produces incorrect colours, so you actually do loose a little bit by not allowing other formats.
Ok, I will try to take it into account. Do you have an example of such a file near at hand?
-pthread should not be needed, though it should not hurt either.
There is a pthread_create in win32.c; it is probably not called, but it needs to be resolved.
sizeof(BITMAPINFOHEADER) == 40, so you forgot the 4 additional bytes after the struct. Probably the decoder needs those, but only gets random data with your code.
Well spotted, thanks. I go back to my tests.