On Fri, Aug 19, 2016 at 11:19:22 +0000, Davinder Singh wrote: > > Same here and many other places. "!=" is a valid operator. ;) > > yes, that would be in case of == operator, not = operator, no?
D'uh, stupid me, I missed that. Sorry! > will do. can you tell which is faster? I *believe* switch/case is faster (IIRC): - The code doesn't need to check a chain of if() cases to get to the later ones. - The compiler can create a look-up table and jump through to the correct code block. Moritz _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel