Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2012-03-13 14:31:42 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2012-03-13 14:31:42 +0400
commitf34c3580acc1904a995205646319a0ab618c0cb3 (patch)
treec9a8dbe350e0ee38b46623859644fb48a4fa1f44 /source/blender/blenkernel
parent2fbb5ce8338838a58f7cf518ceaa40580d290791 (diff)
Fix possible usage of NULL function reported by clang
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r--source/blender/blenkernel/intern/tracking.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/tracking.c b/source/blender/blenkernel/intern/tracking.c
index 1d275cfdb28..9cc45d49e9f 100644
--- a/source/blender/blenkernel/intern/tracking.c
+++ b/source/blender/blenkernel/intern/tracking.c
@@ -2716,6 +2716,9 @@ ImBuf *BKE_tracking_stabilize(MovieTracking *tracking, int framenr, ImBuf *ibuf,
interpolation = bilinear_interpolation;
else if(filter == TRACKING_FILTER_BICUBIC)
interpolation = bicubic_interpolation;
+ else
+ /* fallback to default interpolation method */
+ interpolation = neareast_interpolation;
for(j=0; j<tmpibuf->y; j++) {
for(i=0; i<tmpibuf->x;i++) {