diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-08-29 05:00:14 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-08-29 05:00:14 +0400 |
commit | c1eb0c3783a8a58b8b8f0e380cd931ef02cb69da (patch) | |
tree | b0aa9230bf951fa473eef6c2a648e31ecef0aa6c | |
parent | f71223400929b55720251eabd46732397f34a7b1 (diff) |
clear some warnings with new proxy code.
-rw-r--r-- | source/blender/imbuf/intern/indexer.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/source/blender/imbuf/intern/indexer.c b/source/blender/imbuf/intern/indexer.c index 5a819cef652..3528318ba81 100644 --- a/source/blender/imbuf/intern/indexer.c +++ b/source/blender/imbuf/intern/indexer.c @@ -51,8 +51,11 @@ static char temp_ext [] = "_part"; static int proxy_sizes[] = { IMB_PROXY_25, IMB_PROXY_50, IMB_PROXY_75, IMB_PROXY_100 }; static float proxy_fac[] = { 0.25, 0.50, 0.75, 1.00 }; + +#ifdef WITH_FFMPEG static int tc_types[] = { IMB_TC_RECORD_RUN, IMB_TC_FREE_RUN, IMB_TC_INTERPOLATED_REC_DATE_FREE_RUN }; +#endif #define INDEX_FILE_VERSION 1 @@ -398,7 +401,7 @@ static void get_tc_filename(struct anim * anim, IMB_Timecode_Type tc, { char index_dir[FILE_MAXDIR]; int i = IMB_timecode_to_array_index(tc); - char * index_names[] = { + const char * index_names[] = { "record_run%s.blen_tc", "free_run%s.blen_tc", "interp_free_run%s.blen_tc" }; @@ -928,7 +931,7 @@ static AviMovie * alloc_proxy_output_avi( } static void index_rebuild_fallback(struct anim * anim, - IMB_Timecode_Type tcs_in_use, + IMB_Timecode_Type UNUSED(tcs_in_use), IMB_Proxy_Size proxy_sizes_in_use, int quality, short *stop, short *do_update, |