ffmpef crashing on Win 2008 R2

Dear all

I faced an issue that ffmpeg crashing while adding terminal service role to Win2008 R2, the crashing happened while executing “av_open_input_file” at avformat, any help on that will be highly appreciated. for more info everything going fine before installing the terminal service role

regards
hamam