Fixed a mistake with tempBuf array in video_buffer_in()