[MPlayer-dev-eng] [PATCH] win32 gui open disk for audio cd

Ingo Brückl ib at wupperonline.de
Tue Jan 3 16:31:20 CET 2012


Stephen Sheldon wrote on Thu, 29 Dec 2011 09:07:22 -0800:

> Here is the the error in the first test:

> /usr/local/lib/libcdio.a(win32.o): In function `_cdio_mciSendCommand':
> /home/sheldon/src/libcdio-0.83/lib/driver/MSWindows/win32.c:201:
> undefined reference to `_mciSendCommandA at 16'

I finally succeeded in building (an older version, i.e. v0.77) libcdio with
Cygwin and got the same error, but only with mencoder.exe while mplayer.exe
was built. As mentioned earlier, the libcdio packages didn't run with my
Windows 98SE and so didn't this build, but crashed. But building from source
now had the advantage that I could trace down the crashing instruction in
libcdio. I found calls like verify_read_command(), but didn't feel like
further investigating.

Well, to make a long story short, the number of tracks (which is the only
information that is needed for this patch) was already determined in libcdio
prior to the crash, so I could comment the crashing calls and still call
cdda_tracks() which enabled me to check the patch, so I can confirm now it
works.

Ingo


More information about the MPlayer-dev-eng mailing list