[mythtv] Windows frontend issues

Jeff Lu jll544 at yahoo.com
Sat Aug 28 20:12:09 UTC 2010


> It is probably related to the  ffmpeg sync, I've seen it too. 

Here's what I have so far:

It seems that Windows is getting confused by near-identical function names in 
libavcodec and libavformat - e.g., av_init_packet() and 
av_init_packet at LIBAVFORMAT_52(), respectively.  The @ part apparently is ignored 

at runtime, so the stub functions in libavformat end up calling themselves, ad 
infinitum.

Quick/dirty hack that gets things mostly working:

--- configure   (revision 25902)
+++ configure   (working copy)
@@ -3849,7 +3849,7 @@
check_ldflags -Wl,-Bsymbolic

echo "X{};" > $TMPV
-if test_ldflags -Wl,--version-script,$TMPV; then
+disabled windows && if test_ldflags -Wl,--version-script,$TMPV; then
     append SHFLAGS '-Wl,--version-script,\$(SUBDIR)lib\$(NAME).ver'
     check_cc <<EOF && enable symver_asm_label
void ff_foo(void) __asm__ ("av_foo at VERSION");

Maybe a better way to do this?  I'm guessing there might be a linker switch or 
something to get the full function names respected at runtime.  Either way, it 
seems safe enough to disable symver because we aren't concerned about binary 
compatibility across different versions of our libs.


Cheers,
Jeff


      


More information about the mythtv-dev mailing list