Thread: Avisynth+
View Single Post
Old 26th June 2016, 18:37   #1838  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,781
Quote:
Originally Posted by pinterf View Post
There is another thing that may not be intentional:
Code:
String(lsb?65536:255)
For me 65535 would be more logical, but I'm far from fluently reading the avisynth expression syntax
The typical "ternary operator" (boolean_expression ? true_case_result : false_case_result)... inside a function of a C-like language, you could expand this to:

Code:
if(lsb) return String(65536); else return String(255);
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline