CyanogenModXT720/android_frameworks_base — comment on commit 964bb20ffd89a168753e09fe810e417eb33a939b
File:  line 0
By Mioze7Ae:

preview_sizes isn't a list of available sizes, its a remapping: if w,h match preview_sizes[0], substitute the preview_sizes[1] values instead. So, that whole if statement does nothing now. :D
if (x==1) { x=1 };
Well, probably the compiler's clever enough to delete it. Just FYI.