aboutsummaryrefslogtreecommitdiffstats
path: root/src/image.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/image.c')
-rw-r--r--src/image.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/image.c b/src/image.c
index d020b2ac394..8a6d40ae34f 100644
--- a/src/image.c
+++ b/src/image.c
@@ -7778,6 +7778,9 @@ gif_load (f, img)
7778 specified_file = image_spec_value (img->spec, QCfile, NULL); 7778 specified_file = image_spec_value (img->spec, QCfile, NULL);
7779 specified_data = image_spec_value (img->spec, QCdata, NULL); 7779 specified_data = image_spec_value (img->spec, QCdata, NULL);
7780 7780
7781 /* Animated gifs use QuickTime Movie Toolbox. So initialize it here. */
7782 EnterMovies ();
7783
7781 if (NILP (specified_data)) 7784 if (NILP (specified_data))
7782 { 7785 {
7783 /* Read from a file */ 7786 /* Read from a file */
@@ -8500,14 +8503,9 @@ meaning don't clear the cache. */);
8500void 8503void
8501init_image () 8504init_image ()
8502{ 8505{
8503#ifdef MAC_OS 8506#if defined (MAC_OSX) && TARGET_API_MAC_CARBON
8504 /* Animated gifs use QuickTime Movie Toolbox. So initialize it here. */
8505 if (!inhibit_window_system)
8506 EnterMovies ();
8507#ifdef MAC_OSX
8508 init_image_func_pointer (); 8507 init_image_func_pointer ();
8509#endif 8508#endif
8510#endif
8511} 8509}
8512 8510
8513/* arch-tag: 123c2a5e-14a8-4c53-ab95-af47d7db49b9 8511/* arch-tag: 123c2a5e-14a8-4c53-ab95-af47d7db49b9