Smpeg problems rendering MPEG video on Windows NT4.0

Hi, I asked about this before but did not get any answer. I am still not
able to show MPEG video from a local file.

I am trying to use smpeg for decoding mpeg video and audio. I built the
plaympeg program.
If I specify --audio, it plays OK. However, for the video, it does not show
it: it always gives a pointer error accesing to some not-owned memory. I can
play the videos with Windows Media Player and other programs (such as gplay)
without any problem. The output in a Windows MsgBox is something like
"Instruction in “0x…” has made reference to memory in “0xd3d3d3d3”. Memory
could not be written. " If I run in Debug mode I get “Unhandled exception in
plaympeg.exe (MSVCRT.DLL). 0xC0000005: Access violation” when executing the
SDL_Delay() in the while loop:
SMPEG_play(mpeg);
while ( SMPEG_status(mpeg) == SMPEG_PLAYING )
{
SDL_Delay(1000/2);
}
I am using the precompiled smpeg.dll from
http://pygame.seul.org/ftp/pygame-dependencies.zip

Even if I do not call SMPEG_play() but just ask to render the frames, it
does not show anything:

	SMPEG_renderFrame( mpeg, 0 );
	update( screen, 0, 0, 0, 0 );
	SDL_Delay( 2000 );
	SMPEG_renderFinal( mpeg, screen , 0 , 0 );
	update( screen, 0, 0, 0, 0 );
	SDL_Delay( 2000 );

And even it causes an exception with some video files.

–version reports SDL version 1.1.6 and smpeg version 0.4.0.

Has anyone experienced this problem in Windows NT4.0?

Any solution?__________________________________
I?aki Idigoras Igartua <@Idigoras_Inaki>
IKERLAN - E&K Dpt. (http://www.ikerlan.es)
P.Box 146, 20500 Arrasate - Gipuzkoa
Phone +34 943 712400 - Fax. +34 943 796944

–version reports SDL version 1.1.6 and smpeg version 0.4.0.

You need a newer version of smpeg for that version of SDL.
I recommend SDL 1.1.7 and smpeg 0.4.2:
http://www.libsdl.org/download-1.1.html (SDL)
http://www.lokigames.com/development/smpeg.php3 (SMPEG)

See ya,
-Sam Lantinga, Lead Programmer, Loki Entertainment Software

–version reports SDL version 1.1.6 and smpeg version 0.4.0.

You need a newer version of smpeg for that version of SDL.
I recommend SDL 1.1.7 and smpeg 0.4.2:
http://www.libsdl.org/download-1.1.html (SDL)
http://www.lokigames.com/development/smpeg.php3 (SMPEG)

[Idigoras Inaki]  Thanks a lot! Everything is working fine now!!