Commit dac5344b authored by YAMAMOTO Mitsuharu's avatar YAMAMOTO Mitsuharu
Browse files

(init_image) [MAC_OS]: Don't call EnterMovies.

[!HAVE_GIF && MAC_OS] (gif_load): Call EnterMovies.
parent a7b24852
......@@ -7778,6 +7778,9 @@ gif_load (f, img)
specified_file = image_spec_value (img->spec, QCfile, NULL);
specified_data = image_spec_value (img->spec, QCdata, NULL);
/* Animated gifs use QuickTime Movie Toolbox. So initialize it here. */
EnterMovies ();
if (NILP (specified_data))
{
/* Read from a file */
......@@ -8500,14 +8503,9 @@ meaning don't clear the cache. */);
void
init_image ()
{
#ifdef MAC_OS
/* Animated gifs use QuickTime Movie Toolbox. So initialize it here. */
if (!inhibit_window_system)
EnterMovies ();
#ifdef MAC_OSX
#if defined (MAC_OSX) && TARGET_API_MAC_CARBON
init_image_func_pointer ();
#endif
#endif
}
/* arch-tag: 123c2a5e-14a8-4c53-ab95-af47d7db49b9
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment