Update DVDFactoryCodec.cpp

Got this error..
DVDFactoryCodec.cpp:46:1: error: unterminated #if
So terminated it with #endif and it seems to compile further, not sure if the final build will work but lets see...