PDA

View Full Version : Rebuilt mpegdecoder.dll gives green screen


proghack
6th March 2003, 14:14
I tried to recompile mpegdecoder.dll, even without any changes, but all what I obtain is a dll producing green screens (the original one works fine).
I used VS.NET with and without Intel compiler, and sourcecode is on Nic's pages.

Anyone knows how to solve this?

Nic
7th March 2003, 19:23
Hmmm, I guess I might be able to solve it :)

Look at MPEGDecoder.cpp the yv12 to yuy2 function is /* out because its not needed for the YV12 build. if your making a YUY2 build just remove the /* */ and youll be fine :)

-Nic

proghack
8th March 2003, 08:36
Thanks, now it works.

p.s.: wasn't an #ifdef useful?

Nic
8th March 2003, 13:12
Nope, because I use that class in lots of different apps and want to keep it clean. anyway it was pretty obvious.

-Nic