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:
Diffstat (limited to 'source/blender/sequencer/intern/proxy.c')
-rw-r--r--source/blender/sequencer/intern/proxy.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/source/blender/sequencer/intern/proxy.c b/source/blender/sequencer/intern/proxy.c
index 83231a00f91..398a9a3e072 100644
--- a/source/blender/sequencer/intern/proxy.c
+++ b/source/blender/sequencer/intern/proxy.c
@@ -265,7 +265,6 @@ static void seq_proxy_build_frame(const SeqRenderData *context,
char name[PROXY_MAXFILE];
int quality;
int rectx, recty;
- int ok;
ImBuf *ibuf_tmp, *ibuf;
Editing *ed = context->scene->ed;
@@ -305,8 +304,8 @@ static void seq_proxy_build_frame(const SeqRenderData *context,
BLI_make_existing_file(name);
- ok = IMB_saveiff(ibuf, name, IB_rect | IB_zbuf | IB_zbuffloat);
- if (ok == 0) {
+ const bool ok = IMB_saveiff(ibuf, name, IB_rect | IB_zbuf | IB_zbuffloat);
+ if (ok == false) {
perror(name);
}