missed this file when adding option to disable frameserver
authorCampbell Barton <ideasman42@gmail.com>
Fri, 22 Jul 2011 00:34:03 +0000 (00:34 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Fri, 22 Jul 2011 00:34:03 +0000 (00:34 +0000)
source/blender/blenkernel/intern/writeavi.c

index ba7f9bdd41547bfae02ab76c25c92e04220cb4b9..769a3f9b11e5ea51066c698cdf6f549328a6371f 100644 (file)
@@ -105,13 +105,18 @@ bMovieHandle *BKE_get_movie_handle(int imtype)
                mh.get_movie_path = filepath_ffmpeg;
        }
 #endif
+#ifdef WITH_FRAMESERVER
        if (imtype == R_FRAMESERVER) {
                mh.start_movie = start_frameserver;
                mh.append_movie = append_frameserver;
                mh.end_movie = end_frameserver;
                mh.get_next_frame = frameserver_loop;
        }
-       
+#endif
+
+       /* incase all above are disabled */
+       (void)imtype;
+
        return &mh;
 }