projects
/
goodguy
/
history.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add save project feature, shortcuts update
[goodguy/history.git]
/
cinelerra-5.1
/
guicast
/
test4.C
diff --git
a/cinelerra-5.1/guicast/test4.C
b/cinelerra-5.1/guicast/test4.C
index 114ed49aff9baae38090522778c360d73a849928..de94fad8d709e1c24304b8ef9660d2f2296d3dbf 100644
(file)
--- a/
cinelerra-5.1/guicast/test4.C
+++ b/
cinelerra-5.1/guicast/test4.C
@@
-107,7
+107,7
@@
void write_ppm(uint8_t *tp, int w, int h, const char *fmt, ...)
if( fp ) {
fprintf(fp,"P6\n%d %d\n255\n",w,h);
fwrite(tp,3*w,h,fp);
- fclose(fp);
+
if( fp != stdout )
fclose(fp);
}
}