# HG changeset patch # User reimar # Date 1286995130 0 # Node ID 83d15532e9047ad08a842df3749f6ccbd930d2d4 # Parent 8f3293925a936251c5cdbdc6743f90b1f53b2965 Do not call Setup_FS_Segment if the QuickTime framework is used on OSX for decoding, even if the loader code is compiled in. There is no point in it and since Setup_LDT_Keeper is not called before it will actually crash on OSX due to the auto-alloc functionality not being initialized and thus it will try to set fs to 0xffffffff. diff -r 8f3293925a93 -r 83d15532e904 libmpcodecs/vd_qtvideo.c --- a/libmpcodecs/vd_qtvideo.c Wed Oct 13 15:09:24 2010 +0000 +++ b/libmpcodecs/vd_qtvideo.c Wed Oct 13 18:38:50 2010 +0000 @@ -274,7 +274,7 @@ if(len<=0) return NULL; // skipped frame -#ifdef WIN32_LOADER +#if defined(WIN32_LOADER) && !defined(CONFIG_QUICKTIME) Setup_FS_Segment(); #endif