Init first and second buffer struct
Merge pull request #566 from raven02/master

Init first and second buffer struct