[Mplayer-dev-eng] compile error asf_streaming

Arpi arpi at thot.banki.hu
Tue Jul 17 16:05:01 CEST 2001


Hi,

> > asf_streaming.o: In function `asf_http_request':
> > asf_streaming.o(.text+0x5b9): undefined reference to `demuxer'
> > asf_streaming.o(.text+0x5ec): undefined reference to `demuxer'
> > collect2: ld returned 1 exit status
> > make: *** [mplayer] Error 1
> > 
> > (I used --enable-streaming a month ago with success, now I tried it with
> > today's CVS, but something went wrong)
> 
> Hmm. I'll check this.
> Some weeks ago I've changed 'demuxer' and friends to local variables
> (they were globals before), as the first step to re-entrant libdemuxer.
> It seems to asf steraming code uses it too.
> 

I've checked, but don't understand why demuxer struct access requires there.
Bertrand, please check this! I disabled (#if 0 - #endif) that code in
asf_streaming.c, to get it compile (mpeg/avi parts are usable this way).

If you need demuxer struct there (it's strange, because this func is
called from start_streaming(), but demuxer is NULL/uninitialized then...)
pass it as parameter. Btw I prefer using sh_new_audio or sh_new_video
to allocate new streams, rather than modifying demuxer struct directly.


A'rpi / Astral & ESP-team

--
mailto:arpi at thot.banki.hu
http://esp-team.scene.hu

_______________________________________________
Mplayer-dev-eng mailing list
Mplayer-dev-eng at lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/mplayer-dev-eng



More information about the MPlayer-dev-eng mailing list