I made multitude of fixes based on the comments provided online:
[blender.git] / 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;
 }