changeset 32400:83d15532e904

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.
author reimar
date Wed, 13 Oct 2010 18:38:50 +0000
parents 8f3293925a93
children 69fb7b91bf76
files libmpcodecs/vd_qtvideo.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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