fixed segfault

I used the value of stride_ in the SampleBuffer constructor, but forgot that
member variables are initialized in the order of their declaration.