projects
/
goodguy
/
cinelerra.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
downgrade dav1d to 5.1 seek fails, bg clr uses alpha=1, renderfarm hang fix, fix...
[goodguy/cinelerra.git]
/
cinelerra-5.1
/
cinelerra
/
asset.C
diff --git
a/cinelerra-5.1/cinelerra/asset.C
b/cinelerra-5.1/cinelerra/asset.C
index fab58403d7c54cfaefccc06232ffcf45d9f97589..23586a06e4031f9702ee673f5543700940c3ead6 100644
(file)
--- a/
cinelerra-5.1/cinelerra/asset.C
+++ b/
cinelerra-5.1/cinelerra/asset.C
@@
-181,9
+181,9
@@
void Asset::boundaries()
// sample_rate & frame_rate are user defined
// CLAMP(sample_rate, 1, 1000000);
// CLAMP(frame_rate, 0.001, 1000000);
// sample_rate & frame_rate are user defined
// CLAMP(sample_rate, 1, 1000000);
// CLAMP(frame_rate, 0.001, 1000000);
- CLAMP(channels, 0,
16
);
- CLAMP(width, 0,
10000
);
- CLAMP(height, 0,
10000
);
+ CLAMP(channels, 0,
MAX_CHANNELS-1
);
+ CLAMP(width, 0,
ASSET_MAX_WIDTH
);
+ CLAMP(height, 0,
ASSET_MAX_HEIGHT
);
//printf("Asset::boundaries %d %d %f\n", __LINE__, sample_rate, frame_rate);
}
//printf("Asset::boundaries %d %d %f\n", __LINE__, sample_rate, frame_rate);
}