> Adding #include "ms_hdr.h" did not help. > > Added this to vd_qtvideo.c fixed it. What is wrong ? > could have added #include "ms_hdr.h" and put all the code into a ms_hdr.h file in same directory versus putting it directly in the C code. I dont know the exact problem because I dont see your code. good luck.